Prompt user input

Prompt user input

Anonymous
Not applicable
1,183 Views
1 Reply
Message 1 of 2

Prompt user input

Anonymous
Not applicable

How do I prompt a user for 2 inputs within the same command and create a dialog box asking a user to press a button?

A good example for this is when you want to print a document, you have a "print all" button and a "print page range" button. If the user selects page range, it would prompt for 2 integers.

 

I would like to implement this using .NET 4.5 and AutoCAD 2017 in C#.

 

Thank you!

0 Likes
1,184 Views
1 Reply
Reply (1)
Message 2 of 2

Virupaksha_aithal
Autodesk Support
Autodesk Support

Hi,

 

I do not have a ready sample, but my suggestion is to go through the Labs (step by step tutorials for AutoCAD.NET) found at https://www.autodesk.com/developer-network/platform-technologies/autocad (under AutoCAD.NET Training Labs).  Also, if you have downloaded the ObjectARX SDK, then refer "Prompts" sample found at <>\ObjectARX 2017\samples\dotNet\Prompts. 

 



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

0 Likes