CFx SDK Documentation 2024 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. | |
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. | |
void | SetOwner (AECImpObj *pOwner) |
DOM. | |
class AECSIBase * | GetImpl () const |
DOM. | |
virtual OdResult | dwgInFieldsEx20 (AECDbDwgFiler *pFiler) |
DOM. | |
virtual OdResult | dwgInFieldsEx1 (AECDbDwgFiler *pFiler) |
DOM. | |
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 |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
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. | |
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.