.NET

Reply
Active Contributor
42 Posts
0 Kudos
Registered: ‎05-20-2005
Post 1 of 4

Opening Autocad As Child Form

81 Views, 3 Replies
06-25-2006 09:27 PM
Is it possible to open the drawing as child form through c# or VB.net if yes please tell me how ??? Actually I don't want to open the AutoCAD session as different application I wanted it to be open under our application How???
Valued Contributor
60 Posts
1 Kudo
Registered: ‎06-08-2006
Post 2 of 4

Re: Opening Autocad As Child Form

06-26-2006 06:31 AM in reply to: naresh
In .NET AutoCAD extensions, your application must be loaded by AutoCAD. I would suggest using AutoCAD's MDI functionality and extending AutoCAD instead - use AutoCAD's windows and build functionality with toolbars, etc.

If this cannot be done, it may be possible to create something similar to what you want with RealDWG, which will provide a programmatic API for modifying, loading, and saving DWG files. This code is only available through a license with AutoDesk, though, and I believe it is costly as well.
Active Contributor
42 Posts
0 Kudos
Registered: ‎05-20-2005
Post 3 of 4

Re: Opening Autocad As Child Form

06-26-2006 09:13 PM in reply to: naresh
Hi smcclure
If this is possible in VB 6 then why its not possible in .net
Actually I done it in VB but I am just started the code in C#.net
I have opened the AutoCAD in my application as a child form but now I am not getting ho to hide the caption of AutoCAD window
Valued Contributor
60 Posts
1 Kudo
Registered: ‎06-08-2006
Post 4 of 4

Re: Opening Autocad As Child Form

06-27-2006 05:45 AM in reply to: naresh
Are you using the ActiveX API? What version of AutoCAD are you using? Can you post the relevant code you are having trouble with?
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!