Share

AcDbObject::getField

C++

Acad::ErrorStatus getField(
    const ACHAR* pszPropName, 
    AcDbObjectId& fieldId
) const;

Description

Gets the field ID. A field can be stored in an object using the property name as the key.

Returns Acad::eOk if the object has a field for the specified property. Otherwise, returns an AutoCAD error status.

Parameters

Parameters Description
pszPropName Input property name for which to get the field
fieldId Output reference to receive the field ID

Links

AcDbObject

Was this information helpful?