.NET

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

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

289 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: 704
Registered: ‎01-24-2003
Message 2 of 6 (282 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 (270 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 (267 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 (242 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 (215 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!