|
CFx SDK Documentation
2023 SP0
|
#include <DbDynBlockReference.h>
Public Types | |
| enum | UnitsType { kNoUnits = 0 , kAngular = 1 , kDistance = 2 , kArea = 3 } |
Friends | |
| class | OdDbDynBlockReferencePropertyImpl |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
This class is a utility class referencing properties of dynamic blocks.
Corresponding C++ library: TD_DynBlocks <group OdDb_Classes>
Definition at line 52 of file DbDynBlockReference.h.
| Enumerator | |
|---|---|
| kNoUnits | |
| kAngular | |
| kDistance | |
| kArea | |
Definition at line 56 of file DbDynBlockReference.h.
| OdDbDynBlockReferenceProperty::OdDbDynBlockReferenceProperty | ( | ) |
|
virtual |
| OdDbDynBlockReferenceProperty::OdDbDynBlockReferenceProperty | ( | const OdDbDynBlockReferenceProperty & | other | ) |
| other | [in] Constant reference to the dynamic block reference property. |
| OdDbObjectId OdDbDynBlockReferenceProperty::blockId | ( | ) | const |
Returns the Object ID of the dynamic block reference that owns this property.
| OdString OdDbDynBlockReferenceProperty::description | ( | ) | const |
Returns the description of this property.
| void OdDbDynBlockReferenceProperty::getAllowedValues | ( | OdResBufArray & | allowedValues | ) |
Returns an array of allowed values for this property.
| allowedValues | [out] Receives an an array of allowed values. |
| void OdDbDynBlockReferenceProperty::getDescriptor | ( | OdDbEvalNodeId & | parameterId, |
| OdDbBlkParamPropertyDescriptor & | pDescriptor | ||
| ) |
Returns a parameter descriptor.
| parameterId | [out] Parameter ID. |
| pDescriptor | [out] Parameter descriptor. |
| OdDbBlockParameterPtr OdDbDynBlockReferenceProperty::getParameter | ( | ) |
Returns a parameter smart pointer.
| OdDbDynBlockReferenceProperty& OdDbDynBlockReferenceProperty::operator= | ( | const OdDbDynBlockReferenceProperty & | other | ) |
| OdString OdDbDynBlockReferenceProperty::propertyName | ( | ) | const |
Returns the name of this property.
| OdResBuf::ValueType OdDbDynBlockReferenceProperty::propertyType | ( | ) | const |
Returns the type of the property value.
| bool OdDbDynBlockReferenceProperty::readOnly | ( | ) | const |
Returns true if and only if this property is Read-Only.
| bool OdDbDynBlockReferenceProperty::setValue | ( | const OdResBufPtr & | value | ) |
Sets the current value of the property on the dynamic block reference.
| value | [in] Value. |
| bool OdDbDynBlockReferenceProperty::show | ( | ) | const |
Returns true if and only if this property is displayed on the Property Palette.
| UnitsType OdDbDynBlockReferenceProperty::unitsType | ( | ) | const |
Returns the units of this property.
unitsType() returns one of the following:
Value Description kNoUnits 0 No units defined. kAngular 1 Angle. kDistance 2 Distance. kArea 3 2D area.
| OdResBufPtr OdDbDynBlockReferenceProperty::value | ( | ) | const |
Returns the current value of the property on the dynamic block reference.
| bool OdDbDynBlockReferenceProperty::visibleInCurrentVisibilityState | ( | ) | const |
Returns true if and only if this property is visible in the current visibility state.
|
friend |
Definition at line 164 of file DbDynBlockReference.h.