AcMapObjClassDefinition::SetName Method

Land Desktop Development ARX CPP SDK

AcMapObjClassDefinition:: SetName Method
 

Sets the name of this feature class definition.

AcMapObjClass::EErrCode SetName(
    const ACHAR* pszName
);
Parameters 
Description 
pszName 
Input class name.  
Returns

Returns AcMapObjClass::EErrCode eOk if successful. Returns AcMapObjClass::EErrCode eClassNotFound if the class is not in the feature-definition file. Returns AcMapObjClass::EErrCode eClassAlreadyExists if a class with the same name already exists. Returns AcMapObjClass::EErrCode eClassNameInvalid if the class name contains invalid characters. Returns AcMapObjClass::EErrCode eClassNameTooLong if the class name contains more than 255 characters. Returns AcMapObjClass::EErrCode eClassNotFromCurrentSchema if the class is not from the current feature-definition file. Returns AcMapObjClass::EErrCode eFailed if the process failed for some other reason.

Remarks

If you change the name of an existing feature class definition, entities so classified are not updated; instead, they become undefined.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].