Overview of Sheet Set Manager Objects

Sheet Set Manager API

 
Overview of Sheet Set Manager Objects
 
 
 

The Sheet Set Manager API is based on a set of COM objects. You can use the COM objects of the Sheet Set Manager to develop macros and applications that create sheet sets and perform related tasks.

AcSmSheetSetMgr allows you to open and create sheet set databases (AcSmDatabase) well as determine which databases are already open.

AcSmDatabase contains a hierachy of objects that includes subsets and sheet objects. The sheet set database also contains various properties including version information and the main sheet set object. You can call the GetSheetSet method to retrieve a pointer to the main sheet set object (AcSmSheetSet).

AcSmSheet contains a collection of subsets and sheets (AcSmSubset and AcSmSheet, respectively). AcSmSubset is a collection that can contain sheets and/or other subsets. AcSmSheet is an object that references a specific layout within a specific drawing file. A sheet object contains information about the associated drawing file name, layout name, and handle, as well as other information such as sheet number, description, and so on.

You can view the Sheet Set Manager objects in the AutoCAD VBA integrated development environment (VBA IDE) and in Microsoft Visual Studio. To view the objects using the Object Browser in the VBA IDE, add a reference to the AcSmComponents17 1.0 type library. The file, AcSmComponents17.tlb, is in the following folder: C:\Program Files\Common Files\Autodesk Shared.

A sample project that shows how to use the Sheet Set Manager objects is in the following folder: C:\Program Files\AutoCAD 2009\Sample\ActiveX\SheetSetVBA.