CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Attributes | List of all members
AECOverrideMaterialAssignment Class Reference

#include <AECOverrideMaterialAssignment.h>

Inheritance diagram for AECOverrideMaterialAssignment:
AECOverride AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

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 OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM. More...
 
OdRxObjectGetOwner () const
 
OdRxObjectGetOwner (OdRxClass *pClass) const
 
void addRefSubPtr ()
 
void releaseSubPtr ()
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
OdDbDatabasedatabase () 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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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< AECImpObjcreateObject ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 

Detailed Description

Material Assignment Override.

<group TA_API_Subobjects_Overrides>

Definition at line 34 of file AECOverrideMaterialAssignment.h.

Member Function Documentation

◆ GetComponentId()

OdUInt16 AECOverrideMaterialAssignment::GetComponentId ( ) const

◆ GetId()

OdUInt16 AECOverrideMaterialAssignment::GetId ( ) const
inline

Returns the ID of the component to override the material for.

Definition at line 52 of file AECOverrideMaterialAssignment.h.

◆ GetLocationId()

OdUInt32 AECOverrideMaterialAssignment::GetLocationId ( ) const

◆ GetMaterial()

OdDbObjectId AECOverrideMaterialAssignment::GetMaterial ( ) const

Returns the Object ID of new material definition.

Remarks
See AECDbMaterial Definition.

◆ SetComponentId()

void AECOverrideMaterialAssignment::SetComponentId ( OdUInt16  nComponentId)

◆ SetLocationId()

void AECOverrideMaterialAssignment::SetLocationId ( OdUInt32  nLocationId)

◆ SetMaterial()

void AECOverrideMaterialAssignment::SetMaterial ( const OdDbObjectId matId)

Member Data Documentation

◆ m_materialId

OdDbHardPointerId AECOverrideMaterialAssignment::m_materialId
protected

Definition at line 62 of file AECOverrideMaterialAssignment.h.

◆ m_nComponentId

OdUInt16 AECOverrideMaterialAssignment::m_nComponentId
protected

Definition at line 65 of file AECOverrideMaterialAssignment.h.

◆ m_nLocationId

OdUInt32 AECOverrideMaterialAssignment::m_nLocationId
protected

Definition at line 68 of file AECOverrideMaterialAssignment.h.


The documentation for this class was generated from the following file: