.NET

Reply
Contributor
Nk_long
Posts: 15
Registered: ‎05-31-2012
Message 1 of 6 (279 Views)
Accepted Solution

How to do like 'initget' (AutoLISP) in .net

279 Views, 5 Replies
06-12-2012 09:10 AM

When prompt for input a point from user. I need also an option if they input a keyword like 'T'.  We will open 1 form. After close this form. We back to prompt for a point again. Pls help.

Distinguished Contributor
eljobe
Posts: 704
Registered: ‎01-24-2003
Message 2 of 6 (272 Views)

Re: How to do like 'initget' (AutoLISP) in .net

06-12-2012 10:18 AM in reply to: Nk_long

Check out the GetKeyWords method here.

Contributor
Nk_long
Posts: 15
Registered: ‎05-31-2012
Message 3 of 6 (260 Views)

Re: How to do like 'initget' (AutoLISP) in .net

06-12-2012 11:35 AM in reply to: eljobe

Not only get a key word. I need something like the way using 'initget' in AutoLISP. A prompt that user can input a point or a kword.

Distinguished Contributor
eljobe
Posts: 704
Registered: ‎01-24-2003
Message 4 of 6 (257 Views)

Re: How to do like 'initget' (AutoLISP) in .net

06-12-2012 11:41 AM in reply to: Nk_long

That's why I linked to that method's parent topic. There are other options, GetString, GetObject, GetPoint. Did you read them? Prompting the user for info all works the same way and they all have examples and use similar techniques.

Contributor
Nk_long
Posts: 15
Registered: ‎05-31-2012
Message 5 of 6 (232 Views)

Re: How to do like 'initget' (AutoLISP) in .net

06-12-2012 06:44 PM in reply to: Nk_long

Thank you so much. I found it already. In'Control User Input' content.

Distinguished Contributor
eljobe
Posts: 704
Registered: ‎01-24-2003
Message 6 of 6 (205 Views)

Re: How to do like 'initget' (AutoLISP) in .net

06-14-2012 07:23 AM in reply to: Nk_long

You're welcome.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.