CFx SDK Documentation
2023 SP0
|
#include <AECCustomOpeningBlock.h>
Public Types | |
enum | Display { eAlways = 0 , eWhenIntersectingCutPlane = 1 , eWhenAboveCutPlane = 2 , eWhenBelowCutPlane = 3 } |
Public Types inherited from AECDispCompEnt | |
enum | XPosition { exLeft = 0 , exCenter = 1 , exRight = 2 } |
enum | YPosition { eyFront = 0 , eyCenter = 1 , eyBack = 2 } |
enum | ZPosition { ezBottom = 0 , ezCenter = 1 , ezTop = 2 } |
Protected Attributes | |
OdDbHardPointerId | m_blockId |
BlockFlags | m_uFlags |
OdGeVector3d | m_vInsertionOffset |
OdUInt8 | m_displayOption |
Protected Attributes inherited from AECDispCompEnt | |
bool | m_bVisible |
OdDbHardPointerId | m_hpidDbLayerTableRecord |
OdCmColor | m_cColor |
bool | m_bNoneColor |
OdDbHardPointerId | m_hpidDbLineTypeTableRecord |
OdDb::LineWeight | m_eLineWeight |
double | m_dLtScale |
OdDb::PlotStyleNameType | m_ePlotStyleName |
OdDbHardPointerId | m_hpidPlotStyle |
MaterialFlags | m_iMaterialFlags |
OdUInt32 | m_unknSmartStrID |
DOM. More... | |
OdString | m_unknSmartStrValue |
DOM. More... | |
OdInt32 | m_iUnknown1 |
DOM. More... | |
Protected Attributes inherited from AECDispComp | |
bool | m_bApplicable |
bool | m_bInherited |
Protected Attributes inherited from AECImpObj | |
class AECSIBase * | m_pImp |
DOM. More... | |
OdUInt16 | m_iMinSupportedVersion |
Friends | |
class | AECGaCustomBlock |
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 () | |
Opening custom block.
<group TA_API_Subobjects_Display_Components>
Definition at line 35 of file AECCustomOpeningBlock.h.
Display condition.
Enumerator | |
---|---|
eAlways | |
eWhenIntersectingCutPlane | |
eWhenAboveCutPlane | |
eWhenBelowCutPlane |
Definition at line 163 of file AECCustomOpeningBlock.h.
OdDbObjectId AECCustomOpeningBlock::GetBlock | ( | ) | const |
Returns the Object ID of ACAD block.
Display AECCustomOpeningBlock::GetDisplayOption | ( | ) | const |
const OdGeVector3d& AECCustomOpeningBlock::GetInsertionOffset | ( | ) | const |
Returns the offset of insertion point.
void AECCustomOpeningBlock::GetOffsetFromOrigin | ( | const OdGeVector3d & | vEntityDimension, |
OdGeVector3d & | vOffset | ||
) | const |
Returns the offset from the entity`s origin.
vEntityDimension | [in] - three dimensions of the entity. |
vOffset | [out] - offset from origin. |
XPosition AECCustomOpeningBlock::GetXPosition | ( | ) | const |
Returns the position of insertion point along X axis.
YPosition AECCustomOpeningBlock::GetYPosition | ( | ) | const |
Returns the position of insertion point along Y axis.
ZPosition AECCustomOpeningBlock::GetZPosition | ( | ) | const |
Returns the position of insertion point along Z axis.
bool AECCustomOpeningBlock::IsMirrorX | ( | ) | const |
Returns whether the block is mirrored about X axis.
bool AECCustomOpeningBlock::IsMirrorY | ( | ) | const |
Returns whether the block is mirrored about Y Axis.
bool AECCustomOpeningBlock::IsMirrorZ | ( | ) | const |
Returns whether the block is mirrored about Z Axis.
bool AECCustomOpeningBlock::IsScaleToFitDepth | ( | ) | const |
Returns whether the block is scaled to fit depth.
bool AECCustomOpeningBlock::IsScaleToFitHeight | ( | ) | const |
Returns whether the block is scaled to fit height.
bool AECCustomOpeningBlock::IsScaleToFitLockXYRatio | ( | ) | const |
Returns whether the block is scaled to keep XY ratio.
bool AECCustomOpeningBlock::IsScaleToFitWidth | ( | ) | const |
Returns whether the block is scaled to fit width.
void AECCustomOpeningBlock::SetBlock | ( | const OdDbObjectId & | idBlock | ) |
Sets the Object ID of ACAD block.
void AECCustomOpeningBlock::SetInsertionOffset | ( | const OdGeVector3d & | vOffset | ) |
Sets the offset of insertion point.
void AECCustomOpeningBlock::SetIsMirrorX | ( | bool | bMirror | ) |
Sets whether the block is mirrored about X axis.
void AECCustomOpeningBlock::SetIsMirrorY | ( | bool | bMirror | ) |
Sets whether the block is mirrored about Y axis.
void AECCustomOpeningBlock::SetIsMirrorZ | ( | bool | bMirror | ) |
Sets whether the block is mirrored about Z axis.
void AECCustomOpeningBlock::SetIsScaleToFitDepth | ( | bool | bScale | ) |
Sets whether the block is scaled to fit depth.
void AECCustomOpeningBlock::SetIsScaleToFitHeight | ( | bool | bScale | ) |
Sets whether the block is scaled to fit height.
void AECCustomOpeningBlock::SetIsScaleToFitLockXYRatio | ( | bool | bScale | ) |
Sets whether the block is scaled to keep XY ratio.
void AECCustomOpeningBlock::SetIsScaleToFitWidth | ( | bool | bScale | ) |
Sets whether the block is scaled to fit width.
Sets the position of insertion point along X axis.
Sets the position of insertion point along Y axis.
Sets the position of insertion point along Z axis.
|
friend |
Definition at line 198 of file AECCustomOpeningBlock.h.
|
protected |
Definition at line 186 of file AECCustomOpeningBlock.h.
|
protected |
Definition at line 195 of file AECCustomOpeningBlock.h.
|
protected |
Definition at line 189 of file AECCustomOpeningBlock.h.
|
protected |
Definition at line 192 of file AECCustomOpeningBlock.h.