Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ironpython programming in ANSYS workbench API: Coordinate system

Status
Not open for further replies.

Henmog89

Structural
Joined
Sep 11, 2017
Messages
1
Location
SE
Hi,

I wonder if anybody knows how to add or modify an offset/rotation to a coordinate system with Ironpython code in the workbench API.
I can't find any method/function in the ACT reference guide.

Please see example in attached file.

Thanks

Henmog89
 
 http://files.engineering.com/getfile.aspx?folder=1290721a-15d9-4eba-97a7-6b7748fc6866&file=image_(7).png
Old post and maybe you got your answer but for the benefits of anyone else searching...

cs.AddTransformation(TransformationType.Offset,CoordinateSystemAxisType.PositiveXAxis)# Adding an offset transformation in the +x direction
cs.SetTransformationValue(1,45)# 1 is choosing the first transformation and 45 is the value of that transformation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top