SubObjects of Selected Paths

Need help, or want to share a macro? Post here!
lll
Posts: 3
Joined: Mon Apr 09, 2018 9:00 am

SubObjects of Selected Paths

Postby lll » Mon Apr 16, 2018 1:38 pm

Hey,

I want to access a selected point of a path. Like

Code: Select all

Point = Gui.Selection.getSelectionEx()[0].SubOjects[0]
But SubObjects is empty. If I try:

Code: Select all

 Gui.Selection.getSelectionEx()[0].SubElementNames 
It returns: ('1043 G01 A-82.8493 C-26.7898 X-17.8165 Y45.4607 Z17.459',)

Thanks for your help
TheMarkster
Posts: 5
Joined: Thu Apr 05, 2018 1:53 am

Re: SubObjects of Selected Paths

Postby TheMarkster » Mon Apr 16, 2018 5:43 pm

I think this is what you want.

Code: Select all

Point = Gui.Selection.getSelectionEx()[0].PickedPoints[0]