TAGGED: spaceclaim
-
-
March 22, 2024 at 3:04 pmShyam Prasad V AtriSubscriber
Hello
Can anyone please tell me what is the python command to the following questions
1 create a plane normal to the starting point on a curve
2 draw a circle of a particular diameter
3 sweep that circle along that line
I saw some example scripts given in space claim by default but i don't see any examples given for question 1
I have already seen this video (
) which gives how the data structure of space claim model works but this also does not contain information about the question 1(I don't know why you closed the comments for this question..i don't know what you are trying to do by doing such a thing as to unnecessarily close the question without giving a proper resolution)
-
March 22, 2024 at 5:33 pmErik KostsonAnsys Employee
Hi
Easiest is to use script recording when creating a new script (File -> New Script) and record the actions you take in the user interface (UI) of SC – so take all 3 steps manually in the UI as you would normally do, and you will see the corresponding script commands when recording them in a new script – see below how to activate and start the script recording (so video and search is for that only so how to start and use the script recording and not to look on the actual commands produced by this in the video that is not relevant as you are trying to do something else – so just see how to open and start a script recording hope that is more clear now)
https://www.youtube.com/watch?v=U98qtKWUoL8
Search for more videos if needed, but is fairly easy to record the actions (you just press the red record button on the new script console in SC)
https://www.google.com/search?q=recording+and+script+and+spaceclaim&rlz=1C1GCEA_enDE1032DE1032&oq=recording&gs_lcrp=EgZjaHJvbWUqBggCEEUYOzIMCAAQRRg5GLEDGIAEMgYIARBFGEAyBggCEEUYOzIKCAMQABixAxiABDINCAQQABixAxjJAxiABDINCAUQABiSAxiABBiKBTINCAYQABiSAxiABBiKBTIHCAcQABiABNIBCDU0MThqMGo3qAIIsAIB&sourceid=chrome&ie=UTF-8
If you have any further questions in the future please post in the 3D design (Spaceclaim) forum which is the appropriate forum (current forum is about mechanical analysis and not about Scpaceclaim scripting):
Also be mindful and respectful when posting in the forum.
See forum guidelines:
/forum/forums/topic/guidelines-for-posting-on-ansys-learning-forum/
/forum/forums/topic/forum-rules-of-conduct/
/forum/forums/forum/discuss-simulation/threeddesign/
Thank you
Erik
Closing as there is anoteher duplicate post:
/forum/forums/topic/ansys-space-claim-sweep-using-python-script/#post-358734
-
- The topic ‘space claim python script’ is closed to new replies.
- Problem with access to session files
- Ayuda con Error: “Unable to access the source: EngineeringData”
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- Geometric stiffness matrix for solid elements
- How to apply Compression-only Support?
- How to select the interface delamination surface of a laminate?
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- SMART crack under fatigue conditions, different crack sizes can’t growth
-
1241
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.