CompoundObjectId Class

This class is used to identify an object in a database when the object is referenced via a path of BlockReferences. The object may reside in the host database, in an external reference database, or even in another unrelated database.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.DatabaseServicesCompoundObjectId

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public class CompoundObjectId : RXObject

The CompoundObjectId type exposes the following members.

Constructors
  Name Description
Public method CompoundObjectId Default constructor for the CompoundObjectId class.
Public method CompoundObjectId(CompoundObjectId) Copy constructor for the CompoundObjectId class. Copies the passed compound object ID.
Public method CompoundObjectId(ObjectId) Constructor for the CompoundObjectId class. Creates a compound object ID from the passed object ID.
Public method CompoundObjectId(ObjectId, Database) Constructor for the CompoundObjectId class. Creates a compound object ID from the passed object ID in a given host database.
Public method CompoundObjectId(ObjectId, ObjectIdCollection, Database) Constructor for the CompoundObjectId class. Creates a compound object ID from the passed object ID and a path of BlockReferences.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property FullPath Property that represents a collection of pull paths of BlockReference identifiers appended with the leaf ObjectId.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsEmpty Property that indicates whether this CompoundObjectId contains no data.
Public property IsExternal Property that indicates whether this CompoundObjectId is from an external drawing.
Public property IsSimpleObjectId Property that indicates whether there is no path, only the leaf ID.
Public property LeafId Property that represents either an ObjectId that resides in the BlockTableRecord that is the last BlockReference in the path references, or just an ObjectId if there is no path.
Public property Path Property that represents a collection of object identifiers forming the BlockReference path.
Public property TopId Property that represents the first ObjectId in the path or the leaf node if there is no path.
Public property Transform Property that represents transformation matrix from the leaf object to the world, concatenating all BlockReference transforms, from most nested one to the top one.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CompareTo Allows classes to compare class objects.
(Inherited from RXObject)
Public method CopyFrom Copies the contents of the specified object into this object.
(Inherited from RXObject)
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Protected method DeleteUnmanagedObject
(Inherited from RXObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method DwgInFields Reads the .dwg file data of this object.
Public method DwgOutFields Writes the .dwg file data of this object.
Public method DxfInFields Reads the .dxf file data of this object.
Public method DxfOutFields Writes the .dxf file data of this object.
Public method Equals Checks objects for equality.
(Overrides DisposableWrapperEquals(Object))
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method IsValid Checks whether this compound object ID is valid according to the level of testing.
Protected method MemberwiseClone
(Inherited from Object)
Protected method MemberwiseClone(Boolean)
(Inherited from MarshalByRefObject)
Public methodStatic member NullId Returns a null compound object ID.
Public method QueryX Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
(Inherited from RXObject)
Public method Remap Remaps all object identifiers that relate to this compound object ID using the given idMap.
Public method Set(CompoundObjectId, Database) Sets this CompoundObjectId from the passed compound object ID in a given database.
Public method Set(ObjectId, Database) Sets this CompoundObjectId from the passed ObjectId in a given database.
Public method Set(ObjectId, ObjectIdCollection, Database) Sets this CompoundObjectId from the passed object ID and a path of BlockReferences.
Public method SetEmpty Sets this CompoundObjectId to be an empty compound object ID that has no data.
Public method SetFullPath Sets this CompoundObjectId from the object that stores the path of block references.
Public method ToString
(Inherited from Object)
Public method X Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
(Inherited from RXObject)
Top
Operators
  Name Description
Public operator Assign(CompoundObjectId) Assignment operator for the CompoundObjectId object.
Public operator Assign(ObjectId) Assignment operator for the CompoundObjectId object.
Public operator Equality(CompoundObjectId) Equality operator for the CompoundObjectId object. Checks whether the passed object is equal to this object.
Public operator Inequality(CompoundObjectId) Inequality operator for the CompoundObjectId object. Checks whether the passed object is not equal to this object.
Top
See Also

©  Bricsys NV. All rights reserved.