User input help

User input help

Anonymous
Not applicable
547 Views
2 Replies
Message 1 of 3

User input help

Anonymous
Not applicable

Okay guys, i dont know if i can post this here. So, i want to add simple .net user interface who gets input from user diameter (integer)  and draws some entity, (circle with diameter).

 

Also i have problem, how to "save that file extension" (i hope that is .arx?) instead of compiling every time when i want to manipulate with acad.

 

I am new in this way of programming, so i am sorry for interrupting.

0 Likes
548 Views
2 Replies
Replies (2)
Message 2 of 3

StephenPreston
Alumni
Alumni

As you're new, I recommend you download and work through the AutoCAD .NET training labs from www.autodesk.com/developautocad. The labs cover prompting for using input and adding entities to the drawing, along with many other key concepts.

 

I'm not sure what you mean by "save that file extension". If you mean save a drawing, then you can use the Database.SaveAs method.

 

Cheers,

Stephen Preston
Autodesk Developer Network
0 Likes
Message 3 of 3

Keith.Brown
Advisor
Advisor

As Stephen mentioned, go thru the lab, it has the answer to all your questions.  As far as saving your project.  When you compile your project it will create a dll.  This is the file that you will distribute and netload into your autocad session.

0 Likes