C++
AcDbObjectId ucsname() const;
Description
Returns the object ID of the UCS table entry that is currently in use in the Model Space of the database; that is, the Model Space value of UCSNAME. See the System Variables section of the AutoCAD Command Reference for information on UCSNAME.
Note For Paper Space values, see AcDbDatabase::pucsname() function.