AcMapDrawingSet class

Land Desktop Development ARX CPP SDK

 

AcMapDrawingSet class

Header file: MapArxApi.h.

The attached drawings of a project. A project contains a single drawing set.

A drawing set is a tree. Some drawings are attached directly to the drawing set, and each attached drawing can have other attached drawings nested within it.

To alter a drawing set, a user must have the Alter Drawing Set user privilege. Set this privilege in the AutoCAD Map User Administration dialog.

Do not subclass from this class.

To get an AcMapDrawingSet pointer, call AcMapProject::GetDrawingSet, as shown in the following example. Do not attempt to delete the memory associated with the drawing set pointer. For simplicity, the example does not show routine error checking.

AcMapSession    *mapApi = NULL;
AcMapProject    *pProj = NULL;
AcMapDrawingSet *pDSet = NULL;
 
mapApi = AcMapGetSession();
mapApi->GetProject(pProj);
pProj->GetDrawingSet(pDSet);
pDSet->ZoomExtents();