Add a Sheet Set to a Database

To add a sheet set to a sheet set database, you use a locked AcSmDatabase object and the GetSheetSet method to get an AcSmSheetSet object. With the AcSmSheetSet object, you can perform operations such as adding a name and description to the sheet set.

To add a sheet to an AcSmSheetSet object, you use the AddNewSheet method or the ImportSheet method. If you use the ImportSheet method, you create an AcSmNamedAcDbObjectReference object with the appropriate file name and layout name. After calling the ImportSheet method, you must call the InsertComponent method to finish the import.