C++
AcDbObjectId ucsName() const;
Description
This function returns the object ID of an AcDbUcsTableRecord if the UCS of the view or viewport table record is a named UCS. This function will return a null id if the UCS is not named or if it is called for an AcDbViewTableRecord that has no associated UCS.