if we can not use acdbmgd.dll/acmgd.dll in stand alone exe app. then how can we open drawing ?
i want to open "*.dwg" file in my exe app. and modify some of the entities from that .dwg file
use the COM-API instead (reference the Interop.... assemblies) to get access to the AutoCAD ActiveX-Server.
- alfred -
From external applications (.exe) you can ONLY use AutoCAD COM API, which mean no use of AcMgd or AcDbMgd. Using COM API you can call methods like Open and some changes can be made.
The way around is expose AcMgd and AcDbMgd features through COM to your external application following this blog post: http://through-the-interface.typepad.com/through_t
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.