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);
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
ODDB_DECLARE_MEMBERS(OdDbProxyEntity)
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)
bool visibilityChangeAllowed() const