
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm going through a lot of the documentation and trying to understand things before I attempt anything very serious and I am having a hard time grasping exactly how everything works. It seems that several of the examples utilize the following classes to access AutoCAD:
AutoCAD::IAcadApplication *pAcad;
AutoCAD::IAcadDocument *pDoc;
AutoCAD::IAcadDatabase *pDb;
But there is little to no documentation on them. In fact, there is not a single reference to IAcadDocument in any of the documentation. Am I just missing it? What are these used for?
It also appears that most of the other samples use the following classes to interact with AutoCAD:
AcApDocument* pDoc;
AcDbDatabase* pDb;
The actual plugin that I am wiriting is going to be exporting a drawing to a WMF, but I'm not sure which of the above approaches I should take. The only function that I can find to do it is the AutoCAD::IAcadDocument.Export(). Is this the best way to perform this operation? Any help would be appreciated, Thanks!
Solved! Go to Solution.