CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
27 #ifndef _OD_DB_PROXY_ENTITY_
28 #define _OD_DB_PROXY_ENTITY_
97 kEraseAllowed = 0x001,
98 kTransformAllowed = 0x002,
99 kColorChangeAllowed = 0x004,
100 kLayerChangeAllowed = 0x008,
101 kLinetypeChangeAllowed = 0x010,
102 kLinetypeScaleChangeAllowed = 0x020,
103 kVisibilityChangeAllowed = 0x040,
104 kCloningAllowed = 0x080,
105 kLineWeightChangeAllowed = 0x100,
106 kPlotStyleNameChangeAllowed = 0x200,
107 kDisableProxyWarning = 0x400,
108 kMaterialChangeAllowed = 0x800,
109 kAllButCloningAllowed = 0xB7F,
110 kAllAllowedBits = 0xBFF
205 bool allButCloningAllowed()
const {
return (proxyFlags() & kAllAllowedBits) == (kAllAllowedBits ^ kAllButCloningAllowed); }
284 bool doSubents =
true);
290 bool doSubents =
true);
296 bool doSubents =
true);
302 bool doSubents =
true);
309 bool doSubents =
true);
315 bool doSubents =
true,
316 bool allowHiddenLayer =
false);
322 bool doSubents =
true,
323 bool allowHiddenLayer =
false);
329 bool doSubents =
true);
335 bool doSubents =
true);
340 double linetypeScale,
341 bool doSubents =
true);
347 bool doSubents =
true);
353 bool doSubents =
true);
360 bool doSubents =
true);
363 bool doSubents =
true);
#define GETBIT(flags, bit)
virtual OdResult setLinetypeScale(double linetypeScale, bool doSubents=true)
virtual OdResult setPlotStyleName(const OdString &plotStyleName, bool doSubents=true)
bool colorChangeAllowed() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
bool visibilityChangeAllowed() const
bool transformAllowed() const
bool layerChangeAllowed() const
bool linetypeScaleChangeAllowed() const
bool eraseAllowed() const
bool linetypeChangeAllowed() const
virtual OdString applicationDescription() const
virtual OdDbObjectPtr subDeepClone(OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
bool materialChangeAllowed() const
virtual OdResult setPlotStyleName(OdDb::PlotStyleNameType plotStyleNameType, OdDbObjectId newId=OdDbObjectId::kNull, bool doSubents=true)
bool cloningAllowed() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult setColor(const OdCmColor &color, bool doSubents=true)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual int proxyFlags() const
virtual OdResult subSetVisibility(OdDb::Visibility visibility, bool doSubents=true)
virtual OdString originalClassName() const
virtual OdResult setLayer(OdDbObjectId layerId, bool doSubents=true, bool allowHiddenLayer=false)
bool isR13FormatProxy() const
virtual void getReferences(OdTypedIdsArray &objectIds) const
virtual OdResult setColorId(OdDbObjectId colorId, bool doSubents=true)
OdResult dxfIn(OdDbDxfFiler *pFiler)
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
bool lineWeightChangeAllowed() const
virtual OdResult setColorIndex(OdUInt16 colorIndex, bool doSubents=true)
virtual OdResult setMaterial(OdDbObjectId materialID, bool doSubents=true)
ODDB_DECLARE_MEMBERS(OdDbProxyEntity)
virtual OdDbProxyEntity::GraphicsMetafileType graphicsMetafileType() const
OdSmartPtr< OdDbProxyEntity > OdDbProxyEntityPtr
virtual OdResult subErase(bool erasing)
virtual OdResult setLinetype(OdDbObjectId linetypeID, bool doSubents=true)
virtual OdResult setLayer(const OdString &layerName, bool doSubents=true, bool allowHiddenLayer=false)
bool allOperationsAllowed() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const ODRX_OVERRIDE
virtual OdResult setLineWeight(OdDb::LineWeight lineWeight, bool doSubents=true)
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm) ODRX_OVERRIDE
virtual OdResult setMaterial(const OdString &materialName, bool doSubents=true)
bool allButCloningAllowed() const
virtual OdString originalDxfName() const
bool plotStyleNameChangeAllowed() const
virtual OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
virtual OdResult setLinetype(const OdString &linetypeName, bool doSubents=true)