CFx SDK Documentation
2023 SP0
|
#include <AECOverrideMaterialAssignment.h>
Public Member Functions | |
OdDbObjectId | GetMaterial () const |
void | SetMaterial (const OdDbObjectId &matId) |
OdUInt16 | GetId () const |
OdUInt16 | GetComponentId () const |
void | SetComponentId (OdUInt16 nComponentId) |
OdUInt32 | GetLocationId () const |
void | SetLocationId (OdUInt32 nLocationId) |
Public Member Functions inherited from AECImpObj | |
const OdString & | GetDescription () const |
void | SetDescription (const OdString &strDescription) |
virtual void | onObjectLoaded () |
virtual void | SubClose () |
DOM. More... | |
OdRxObject * | GetOwner () const |
OdRxObject * | GetOwner (OdRxClass *pClass) const |
void | addRefSubPtr () |
void | releaseSubPtr () |
void | assertReadEnabled () const |
void | assertWriteEnabled (bool autoUndo=true, bool recordModified=true) |
bool | isReadEnabled () const |
bool | isWriteEnabled () const |
OdDbDatabase * | database () const |
void | copyFrom (const OdRxObject *pOther) |
virtual OdUInt16 | minSupportedVersion () const |
void | SetOwner (OdDbObject *pOwner) |
DOM. More... | |
void | SetOwner (AECImpObj *pOwner) |
DOM. More... | |
class AECSIBase * | GetImpl () const |
DOM. More... | |
virtual OdResult | dwgInFieldsEx20 (AECDbDwgFiler *pFiler) |
DOM. More... | |
virtual OdResult | dwgInFieldsEx1 (AECDbDwgFiler *pFiler) |
DOM. More... | |
Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
OdRxObjectImpl () | |
void | addRef () |
void | release () |
long | numRefs () const |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Protected Attributes | |
OdDbHardPointerId | m_materialId |
OdUInt16 | m_nComponentId |
OdUInt32 | m_nLocationId |
Protected Attributes inherited from AECImpObj | |
class AECSIBase * | m_pImp |
DOM. More... | |
OdUInt16 | m_iMinSupportedVersion |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
static OdSmartPtr< AECImpObj > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
ODRX_HEAP_OPERATORS () | |
Material Assignment Override.
<group TA_API_Subobjects_Overrides>
Definition at line 34 of file AECOverrideMaterialAssignment.h.
OdUInt16 AECOverrideMaterialAssignment::GetComponentId | ( | ) | const |
|
inline |
Returns the ID of the component to override the material for.
Definition at line 52 of file AECOverrideMaterialAssignment.h.
OdUInt32 AECOverrideMaterialAssignment::GetLocationId | ( | ) | const |
OdDbObjectId AECOverrideMaterialAssignment::GetMaterial | ( | ) | const |
Returns the Object ID of new material definition.
void AECOverrideMaterialAssignment::SetMaterial | ( | const OdDbObjectId & | matId | ) |
|
protected |
Definition at line 62 of file AECOverrideMaterialAssignment.h.
|
protected |
Definition at line 65 of file AECOverrideMaterialAssignment.h.
|
protected |
Definition at line 68 of file AECOverrideMaterialAssignment.h.