Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

How to get Circle centers from Named selection group 2023R2 Discovery/Spaceclaim

Status
Not open for further replies.

Eranho

Mechanical
Nov 29, 2023
1
0
0
FI
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 ?
 
Status
Not open for further replies.
Back
Top