AssignCylindricalSupport and EditCylindricalSupport
AssignCylindricalSupport
This command creates a Cylindrical Support boundary in a Mechanical–Modal or Mechanical-Structural design.
| UI Access | Mechanical > Boundaries > Assign > Cylindrical Support | ||||||||||||||||||
| Parameters |
|
||||||||||||||||||
| Return Value | None |
| Python Syntax | AssignCylindricalSupport (<NAME>, <Faces>, <Axial>, <Radial>, <Tangential>) |
| Python Example |
|
EditCylindricalSupport
In the above script examples, you can substitute "Edit" for "Assign" to modify a pre-existing cylindrical support boundary instead of creating a new one. The script must identify the Name of the existing support within the Edit command line. Then, you can change the Name and the status of the Axial, Radial, and/or Tangential constraint directions (Free or Fixed). You cannot change the assignment Faces in this manner.
Script examples for editing a cylindrical support boundary are given below.
- UI Access: Double-click the boundary in the Project Manager or right-click it and choose Properties from the shortcut menu.
- Python Example:
oModule.EditCylindricalSupport("CylindricalSupport1", [ "NAME:CylindricalSupport_Left", "Axial:=" , "Fixed", "Radial:=" , "Fixed", "Tangential:=" , "Free", ])