get grippoint from user

get grippoint from user

Anonymous
Not applicable
274 Views
2 Replies
Message 1 of 3

get grippoint from user

Anonymous
Not applicable
hello,

is there a function like "acedGetPoint()" to get, wich grippoint a user has clicked on a polyline, for example?
an index of the polylinepointcollection is ok, too.

hav you any idea?

marco
0 Likes
275 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Call getGripPoints() on the entity and compare it to
the point the user selected.

You may have to project the point into the entity's
plane, along the view direction first.

Another way is to use AcEdInputPointMontior, which
should tell you if a given point was influenced by an
entity's grip.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

<_mm_> wrote in message news:4902687@discussion.autodesk.com...
hello,

is there a function like "acedGetPoint()" to get, wich grippoint a user has clicked on a polyline, for example?
an index of the polylinepointcollection is ok, too.

hav you any idea?

marco
0 Likes
Message 3 of 3

Anonymous
Not applicable
thanks for your answer

:)
0 Likes