-
-
April 17, 2023 at 10:51 am
Lukas Bülow
SubscriberHi Guys,
I have a Problem with PyAnsys scripting, I need a command or codeline for the Wrap-Tool in Ansys. For every Command in "Construction" i could simply use the Record Function of Discovery but for the Wrap-Command which is in "Prepare" this does not work.
I've also read about a Wrap-Command that works with the Project-Tool (which would be nice because this works via the "Construction" Tab) but i cannot find the "Wrap" option there.I just want to Wrap a 2D-Curve around a cylindrical Object via Scripting.
I Really Hope someone can help me !
Thanks ! -
April 20, 2023 at 5:02 am
Naresh Patre
Ansys EmployeeHello @Lukas
I have the below commands from SpaceClaim scripting. I hope they will work in Discovery as well:
option = WrapOptions()
option.Extrude = True
option.Imprint = False
object = Selection.Create(GetRootPart().Bodies[0].Faces[4])
target = Selection.Create(GetRootPart().Bodies[1])
Wrap.Create(target,object)
Naresh Patre
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- How to work with STL file?
- Rotate tool in ANSYS Design Modeler
- section plane
- Using Symmetry in DesignModeler and Expanding the Results
- ANSYS FLUENT – Operation would result in non manifold bodies
- material properties
- drawing a geometry by importing a table of points
- Geometry scaling
- Coordinates orientation
- “contact pair has no element in it.” how to resolve this problem
-
5370
-
3363
-
2471
-
1310
-
1020
© 2023 Copyright ANSYS, Inc. All rights reserved.