user input

user input

Anonymous
Not applicable
405 Views
2 Replies
Message 1 of 3

user input

Anonymous
Not applicable
Is it possible to write a function which prompts user to either pick a point in model space using mouse/keyboard or input one of the specified string options.

Thanks.
0 Likes
406 Views
2 Replies
Replies (2)
Message 2 of 3

norman.yuan
Mentor
Mentor
Yes.

Look into Autodesk.AutoCAD.EdtorInput namespace for various "PromptxxxxxOptions" classes, which are used in conjuction with Editor.Getxxxx() and/or Editor.Selectxxxxx() methods.

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 3

norman.yuan
Mentor
Mentor
Yes.

Look into Autodesk.AutoCAD.EdtorInput namespace for various "PromptxxxxxOptions" classes, which are used in conjuction with Editor.Getxxxx() and/or Editor.Selectxxxxx() methods.

Norman Yuan

Drive CAD With Code

EESignature

0 Likes