AcMapIEExporter::ResetDataTypeForProperty Method

Land Desktop Development ARX CPP SDK

AcMapIEExporter:: ResetDataTypeForProperty Method
 

Sets the Data Type for new or existing properties.

virtual AcMapIE::ErrCode ResetDataTypeForProperty(
    const ACHAR* schemaName, 
    const ACHAR* className, 
    const ACHAR* propertyName, 
    AcMapIE::DataType dataType
) = 0;
Parameters 
Description 
schemaName 
Name of the target schema 
className 
Name of the target class 
propertyName 
Name of the target property 
dataType 
Data Type of the property 
Returns

kErr_OK if successful 

kErr_ClassExists if the property is not a newly appended one 

kErr_InvalidMapping if the property is not mapped to 

kErr_InvalidDataStore if the target datastore is not supported (FDO)

Remarks

Normally the data type is automatically determined based on the source data type. This setting allows the type to be reset to another type so that expressions can be used to convert the source type. For example, a source type of .Color can be mapped to Reals as pipe diameters. This cannot be used on already existing properties.

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].