Share

AcDbObject::getField

C++

Acad::ErrorStatus getField(
    const ACHAR* pszPropName, 
    AcDbField*& pField, 
    AcDb::OpenMode mode = AcDb::kForRead
) const;

Description

Gets the field object. 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
pField Output reference to receive the field object
mode Input mode in which to open the object

Links

AcDbObject

Was this information helpful?