C++
ACDBCORE2D_PORT Acad::ErrorStatus setPucsname( const AcDbObjectId& ucsRecId );
Description
This method sets the Paper Space UCS to the AcDbUCSTableRecord whose ObjectId is ucsRecId. This is the Paper Space value of UCSNAME. See the System Variables section of the AutoCAD Command Reference for information on UCSNAME.
Parameters
Parameters | Description |
---|---|
ucsRecId | Input ObjectId of the AcDbUCSTableRecord to be used |
Returns
Returns Acad::eOk if successful. Returns Acad::eInvalidContext if called on an AcDbDatabase that is open in the AutoCAD editor.
Notes
This method only works for AcDbDatabases that are not loaded in the AutoCAD editor.