Eranho
Mechanical
- Nov 29, 2023
- 1
Hi,
I have multiple hole edges in a Named selection group. How can I get edge center locations to variables in a script?
With this command:
Circle_i = Selection.Create(NamedSelection.GetGroup("BoltHeads").Members[0]).Evaluations
I get this:
Circle_i = Array[IEvaluation]((<SpaceClaim.NominalEdge object at 0x000000000000006B [NominalEdge (id=0:1325, Edge 24827 (Circle: Origin = (-0,01034, -0,02053, 0), DirX = (1, 0, 0), DirY = (0, 1, 0), Radius = 0,002), faces = 2)]>))
But how can I extract Circle Origin values and direction from my Circle_i ?
I have multiple hole edges in a Named selection group. How can I get edge center locations to variables in a script?
With this command:
Circle_i = Selection.Create(NamedSelection.GetGroup("BoltHeads").Members[0]).Evaluations
I get this:
Circle_i = Array[IEvaluation]((<SpaceClaim.NominalEdge object at 0x000000000000006B [NominalEdge (id=0:1325, Edge 24827 (Circle: Origin = (-0,01034, -0,02053, 0), DirX = (1, 0, 0), DirY = (0, 1, 0), Radius = 0,002), faces = 2)]>))
But how can I extract Circle Origin values and direction from my Circle_i ?