Ironpython programming in ANSYS workbench API: Coordinate system
Ironpython programming in ANSYS workbench API: Coordinate system
(OP)
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
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





RE: Ironpython programming in ANSYS workbench API: Coordinate system
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