C++
Acad::ErrorStatus setField( const ACHAR* pszPropName, AcDbField* pField, AcDbObjectId& fieldId ) override;
Description
Adds pField to this object's field dictionary, using pszPropName as the new entry's key. If successful, the new entry's object ID is returned in fieldId.
Returns Acad::eOk if successful.
Parameters
Parameters | Description |
---|---|
pszPropName | Input string to use as the field's dictionary key |
pField | Input pointer to the field object to be added |
fieldId | Output object ID of the added field |