27#ifndef _OD_DB_PROXY_ENTITY_
28#define _OD_DB_PROXY_ENTITY_
96 kEraseAllowed = 0x001,
97 kTransformAllowed = 0x002,
98 kColorChangeAllowed = 0x004,
99 kLayerChangeAllowed = 0x008,
100 kLinetypeChangeAllowed = 0x010,
101 kLinetypeScaleChangeAllowed = 0x020,
102 kVisibilityChangeAllowed = 0x040,
103 kCloningAllowed = 0x080,
104 kLineWeightChangeAllowed = 0x100,
105 kPlotStyleNameChangeAllowed = 0x200,
106 kDisableProxyWarning = 0x400,
107 kMaterialChangeAllowed = 0x800,
108 kAllButCloningAllowed = 0xB7F,
109 kAllAllowedBits = 0xBFF
204 bool allButCloningAllowed()
const {
return (proxyFlags() & kAllAllowedBits) == (kAllAllowedBits ^ kAllButCloningAllowed); }
283 bool doSubents =
true);
289 bool doSubents =
true);
295 bool doSubents =
true);
301 bool doSubents =
true);
308 bool doSubents =
true);
314 bool doSubents =
true,
315 bool allowHiddenLayer =
false);
321 bool doSubents =
true,
322 bool allowHiddenLayer =
false);
328 bool doSubents =
true);
334 bool doSubents =
true);
339 double linetypeScale,
340 bool doSubents =
true);
346 bool doSubents =
true);
352 bool doSubents =
true);
359 bool doSubents =
true);
362 bool doSubents =
true);
OdSmartPtr< OdDbProxyEntity > OdDbProxyEntityPtr
#define GETBIT(flags, bit)
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
bool lineWeightChangeAllowed() const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm) ODRX_OVERRIDE
virtual OdResult setColor(const OdCmColor &color, bool doSubents=true)
bool transformAllowed() const
virtual OdResult setPlotStyleName(OdDb::PlotStyleNameType plotStyleNameType, OdDbObjectId newId=OdDbObjectId::kNull, bool doSubents=true)
virtual OdResult subSetVisibility(OdDb::Visibility visibility, bool doSubents=true)
bool colorChangeAllowed() const
virtual OdResult setLayer(OdDbObjectId layerId, bool doSubents=true, bool allowHiddenLayer=false)
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const ODRX_OVERRIDE
virtual OdString originalDxfName() const
virtual OdResult setMaterial(OdDbObjectId materialID, bool doSubents=true)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual OdResult setLayer(const OdString &layerName, bool doSubents=true, bool allowHiddenLayer=false)
bool plotStyleNameChangeAllowed() const
virtual int proxyFlags() const
virtual OdResult setPlotStyleName(const OdString &plotStyleName, bool doSubents=true)
virtual OdResult setLinetype(const OdString &linetypeName, bool doSubents=true)
bool layerChangeAllowed() const
virtual OdResult setLinetypeScale(double linetypeScale, bool doSubents=true)
virtual OdString applicationDescription() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult setLinetype(OdDbObjectId linetypeID, bool doSubents=true)
virtual OdDbProxyEntity::GraphicsMetafileType graphicsMetafileType() const
virtual OdResult setColorIndex(OdUInt16 colorIndex, bool doSubents=true)
bool isR13FormatProxy() const
virtual OdResult setMaterial(const OdString &materialName, bool doSubents=true)
virtual OdResult setColorId(OdDbObjectId colorId, bool doSubents=true)
bool linetypeChangeAllowed() const
bool allButCloningAllowed() const
virtual OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
bool eraseAllowed() const
virtual OdDbObjectPtr subDeepClone(OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
bool cloningAllowed() const
virtual OdResult setLineWeight(OdDb::LineWeight lineWeight, bool doSubents=true)
bool linetypeScaleChangeAllowed() const
OdResult dxfIn(OdDbDxfFiler *pFiler)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
bool allOperationsAllowed() const
bool materialChangeAllowed() const
virtual OdString originalClassName() const
virtual void getReferences(OdTypedIdsArray &objectIds) const
virtual OdResult subErase(bool erasing)
DWGMAP_DECLARE_MEMBERS(OdDbProxyEntity)
bool visibilityChangeAllowed() const