Code Red => AutoLISP (Vanilla / Visual) => Topic started by: entget on February 02, 2016, 01:03:13 PM
Title: finding point group name
Post by: entget on February 02, 2016, 01:03:13 PM
i have been trying to find the Primary Point Group name(?) of an aecc_cogo_point. ...tried this: (vlax-dump-object (vlax-Ename->Vla-Object (car ent)) T) but don't see what i'm looking for - screen capture attached hopefully
thanks corey
Title: Re: finding point group name
Post by: Jeff_M on February 02, 2016, 02:45:59 PM
With the COM API you need to go through the PointGroups, check the DrawPriority property and if the PG Contains the point. The example uses one helper function not included here...(vl-sl), which just converts an object selected by (entsel) to a vla-object.