.NET

.NET

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

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

292 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.

Check out the GetKeyWords method here.

Distinguished Contributor
eljobe
Posts: 706
Registered: ‎01-24-2003
Message 2 of 6 (285 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 (273 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: 706
Registered: ‎01-24-2003
Message 4 of 6 (270 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 (245 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: 706
Registered: ‎01-24-2003
Message 6 of 6 (218 Views)

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

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

You're welcome.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.