Restrict user point input

Restrict user point input

Anonymous
Not applicable
511 Views
1 Reply
Message 1 of 2

Restrict user point input

Anonymous
Not applicable

Hi

 

is it possable to restrict getpoint input. I want to override getpoint so user can only pick points i choose ( points in Point3Collection), something like autocad snap command ?

0 Likes
512 Views
1 Reply
Reply (1)
Message 2 of 2

StephenPreston
Alumni
Alumni

One way would be to combine EditorGetPoint with an Editor.PointFilter event which allows you to modify the point being returned by the cursor.

Cheers,

Stephen Preston
Autodesk Developer Network