CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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.
 
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.
 
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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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< 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: