GetPoint - Coordinates from PointObject (for Macro)

i thought there was a command or trick to do it - but i can t remember:

how can i use the coordinates of a pointObject as input for a GetPoint.
Desired workflow in a (demo/fake) macro for a line, that always starts at the same pointObject “MyPointObject”:

_line
_<theNestableCommandIMissTo_ExtractPointCoordinates>   <-- ????
-_SelName "MyPointObject"
_pause

thanks - tom

You can’t directly feed a point object into GetPoint; instead, use SelName to select “MyPointObject” and then apply ExtractPt (or similar) to grab its coordinates before continuing the line command. This way the macro starts consistently at that stored point.

thanks for digging in.

_extractPt will extract Control Points and create new PointObjects
_evaluatePt wants another GetPoint (no Object selection)
_what / _list will show the coordinates in a complex dialog

none of above will allow to feed coordinates of a point Object in a macro ;-(

i search a command - but maybe it not exist similar to
_length
_distance
_radius
for numeric input - but for Point-Input

@Helvetosaur or @Gijs
is there a command for this “coordinate-Extraction from PointObject” ?
thanks for a quick

  • yes … commandname = …
  • // or no.

best - tom

No, only by code.

Thanks