Share

AcDbLayoutManager::createLayout

C++

virtual Acad::ErrorStatus createLayout(
    const ACHAR * newname, 
    AcDbObjectId& layoutId, 
    AcDbObjectId& blockTableRecId, 
    AcDbDatabase* pDb = NULL
) = 0;

Description

This function creates a new AcDbLayout object given a unique layout name. The default viewports for the new layout are not created until the layout is first activated.

Parameters

Parameters Description
newname Input pointer of name to give new AcDbLayout object
layoutId Output reference to AcDbObjectId for the newly created AcDbLayout object
blockTableRecId Output reference to AcDbObject block table record Id for the newly created AcDbLayout object
pDatabase Optional input pointer to AcDbDatabase. The default is the current database.

Links

AcDbLayoutManager

Was this information helpful?