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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

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

Status
Not open for further replies.

Eranho

Mechanical
Joined
Nov 29, 2023
Messages
1
Location
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.

Part and Inventory Search

Sponsor

Back
Top