BlockTableRecord Class

Wraps the OdDbBlockTableRecord class. BlockTableRecord objects represent containers for entities in a drawing file: all entities are owned by blocks which are stored in the block table as block table records.
Inheritance Hierarchy
Namespace:  Teigha.DatabaseServices
Assembly:  TD_Mgd (in TD_Mgd.dll) Version: 21.4.0.0
Syntax
public class BlockTableRecord : SymbolTableRecord, 
        IEnumerable

The BlockTableRecord type exposes the following members.

Constructors
  Name Description
Public method BlockTableRecord
Default constructor.
Protected method BlockTableRecord(IntPtr, Boolean)
Initializes a new instance of the BlockTableRecord class
Top
Properties
  Name Description
Public property AcadObject (Inherited from DBObject.)
Public property Annotative (Inherited from DBObject.)
Public property AutoDelete (Inherited from DisposableWrapper.)
Public property BlockBeginId
Gets the BlockBegin object.
Public property BlockEndId
Gets the BlockEnd object.
Public property BlockScaling
Gets or sets the scaling characteristics (uniform or non-uniform) of block references associated with this block table record.
Public property Bounds (Inherited from Drawable.)
Public property ClassID (Inherited from DBObject.)
Public property Comments
Gets or sets the description text associated with this block.
Public property Database (Inherited from DBObject.)
Public property Drawable (Inherited from DBObject.)
Public property DrawableType (Inherited from Drawable.)
Public property DrawOrderTableId
Gets the id of a DrawOrderTable object associated with this block.
Public property Explodable
Gets or sets whether references to this block can be exploded.
Public property ExtensionDictionary (Inherited from DBObject.)
Public property Handle (Inherited from DBObject.)
Public property HasAttributeDefinitions
Gets whether this block table record has attribute definitions.
Public property HasFields (Inherited from DBObject.)
Public property HasPreviewIcon
Gets whether this block table record has preview icon.
Public property HasSaveVersionOverride (Inherited from DBObject.)
Public property Id (Inherited from DBObject.)
Public property IncludingErased
Gets the copy of this BlockTableRecord object which includes erased Entity objects also.
Public property IsAnonymous
Gets whether this block table record is anonymous.
Public property IsAProxy (Inherited from DBObject.)
Public property IsCancelling (Inherited from DBObject.)
Public property IsDependent (Inherited from SymbolTableRecord.)
Public property IsDisposed (Inherited from DisposableWrapper.)
Public property IsDynamicBlock
Gets whether this block table record is a dynamic block.
Public property IsErased (Inherited from DBObject.)
Public property IsEraseStatusToggled (Inherited from DBObject.)
Public property IsFromExternalReference
Gets whether this block table record is an Xref.
Public property IsFromOverlayReference
Gets or sets whether this block table record is an overlaid Xref.
Public property IsLayout
Gets whether this block table record represents a layout.
Public property IsModified (Inherited from DBObject.)
Public property IsModifiedGraphics (Inherited from DBObject.)
Public property IsModifiedXData (Inherited from DBObject.)
Public property IsNewObject (Inherited from DBObject.)
Public property IsNotifyEnabled (Inherited from DBObject.)
Public property IsNotifying (Inherited from DBObject.)
Public property IsObjectIdsInFlux (Inherited from DBObject.)
Public property IsPersistent (Inherited from DBObject.)
Public property IsReadEnabled (Inherited from DBObject.)
Public property IsReallyClosing (Inherited from DBObject.)
Public property IsResolved (Inherited from SymbolTableRecord.)
Public property IsTransactionResident (Inherited from DBObject.)
Public property IsUndoing (Inherited from DBObject.)
Public property IsUnloaded
Gets or sets whether this block table record is unloaded Xref.
Public property IsWriteEnabled (Inherited from DBObject.)
Public property LayoutId
Gets or sets the id of the Layout associated with this block table record.
Public property MergeStyle (Inherited from DBObject.)
Public property Name (Inherited from SymbolTableRecord.)
Public property ObjectBirthVersion (Inherited from DBObject.)
Public property ObjectId (Inherited from DBObject.)
Public property Origin
Gets or sets the WCS origin (the insertion point) of this block table record.
Public property OwnerId (Inherited from DBObject.)
Public property PaperOrientation (Inherited from DBObject.)
Public property PathName
Gets or sets the path and filename for the Xref drawing.
Public property PreviewIcon
Gets or sets the preview icon associated with this block table record.
Protected property SkipDeleted
Public property UndoFiler (Inherited from DBObject.)
Public property Units
Gets or sets the block insertion units for this block table record.
Public property UnmanagedObject (Inherited from DisposableWrapper.)
Public property XData (Inherited from DBObject.)
Public property XrefStatus
Gets the Xref status of this block table record.
Top
Methods
  Name Description
Public method AddContext (Inherited from DBObject.)
Public method AddPersistentReactor (Inherited from DBObject.)
Public method AppendEntity
Appends the specified Entity object to this block table record.
Public method ApplyPartialUndo (Inherited from DBObject.)
Protected method AssertNotifyEnabled (Inherited from DBObject.)
Protected method AssertReadEnabled (Inherited from DBObject.)
Protected method AssertWriteEnabled (Inherited from DBObject.)
Public method AssumeOwnershipOf
This method causes the invoked block table record to assume the ownership of all the entities listed in the input array, and provides an optimized way of moving entities between block table records.
Public method Audit (Inherited from DBObject.)
Public method Cancel Obsolete. (Inherited from DBObject.)
Public method Clone (Inherited from RXObject.)
Public method Close Obsolete. (Inherited from DBObject.)
Public method CloseAndPage Obsolete. (Inherited from DBObject.)
Public method CompareTo (Inherited from RXObject.)
Protected method Copy
Public method CopyFrom (Inherited from RXObject.)
Public method CreateExtensionDictionary (Inherited from DBObject.)
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method DecomposeForSave (Inherited from DBObject.)
Public method DeepClone (Inherited from DBObject.)
Protected method DeleteUnmanagedObject (Inherited from DBObject.)
Public method DisableUndoRecording (Inherited from DBObject.)
Public method Dispose (Inherited from DisposableWrapper.)
Protected method Dispose(Boolean) (Inherited from DBObject.)
Public method DowngradeOpen (Inherited from DBObject.)
Public method DowngradeToNotify (Inherited from DBObject.)
Public method DwgIn (Inherited from DBObject.)
Protected method DwgInFields (Inherited from DBObject.)
Public method DwgOut (Inherited from DBObject.)
Protected method DwgOutFields (Inherited from DBObject.)
Public method DxfIn (Inherited from DBObject.)
Protected method DxfInFields (Inherited from DBObject.)
Public method DxfOut (Inherited from DBObject.)
Protected method DxfOutFields (Inherited from DBObject.)
Public method Equals (Inherited from DisposableWrapper.)
Public method Erase (Inherited from DBObject.)
Public method Erase(Boolean) (Inherited from DBObject.)
Protected method Finalize (Inherited from DisposableWrapper.)
Public method GetAnonymousBlockIds
Currently not implemented.
Public method GetBlockReferenceIds
Returns the Object IDs of all BlockReference entities that reference this block.
Public method GetEnumerator
Returns an enumerator that iterates through the collection.
Public method GetErasedBlockReferenceIds
Returns the Object ID's of all erased BlockReference entities that directly reference this block.
Public method GetEventExtender (Inherited from DBObject.)
Public method GetField (Inherited from DBObject.)
Public method GetField(String) (Inherited from DBObject.)
Public method GetHashCode (Inherited from DisposableWrapper.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetObjectSaveVersion(DwgFiler) (Inherited from DBObject.)
Public method GetObjectSaveVersion(DxfFiler) (Inherited from DBObject.)
Public method GetPersistentReactorIds (Inherited from DBObject.)
Public method GetReactors Obsolete. (Inherited from DBObject.)
Public method GetRXClass (Inherited from RXObject.)
Public method GetTransientReactors (Inherited from DBObject.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetXDataForApplication (Inherited from DBObject.)
Public method GetXrefDatabase
Returns the database that defines this Xref.
Public method HandOverTo (Inherited from DBObject.)
Public method HasContext (Inherited from DBObject.)
Public method HasPersistentReactor (Inherited from DBObject.)
Protected method IEnumerable_GetEnumerator
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public method QueryX (Inherited from RXObject.)
Public method ReleaseExtensionDictionary (Inherited from DBObject.)
Public method RemoveContext (Inherited from DBObject.)
Public method RemoveField (Inherited from DBObject.)
Public method RemoveField(String) (Inherited from DBObject.)
Public method RemoveField(ObjectId) (Inherited from DBObject.)
Public method RemovePersistentReactor (Inherited from DBObject.)
Public method ResetScaleDependentProperties (Inherited from DBObject.)
Public method SetAttributes (Inherited from Drawable.)
Public method SetField(Field) (Inherited from DBObject.)
Public method SetField(String, Field) (Inherited from DBObject.)
Public method SetFromStyle (Inherited from DBObject.)
Public method SetObjectIdsInFlux (Inherited from DBObject.)
Public method SetPaperOrientation (Inherited from DBObject.)
Protected method SubSetAttributes (Inherited from DBObject.)
Protected method SubViewportDraw (Inherited from DBObject.)
Protected method SubViewportDrawLogicalFlags (Inherited from DBObject.)
Protected method SubWorldDraw (Inherited from DBObject.)
Public method SupportsCollection (Inherited from DBObject.)
Public method SwapIdWith (Inherited from DBObject.)
Public method SwapReferences (Inherited from DBObject.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method UpdateAnonymousBlocks
Updates the anonymous blocks created from this dynamic block definition to reflect any changes made to the dynamic block definition.
Public method UpgradeFromNotify (Inherited from DBObject.)
Public method UpgradeOpen (Inherited from DBObject.)
Public method ViewportDraw (Inherited from Drawable.)
Public method ViewportDrawLogicalFlags (Inherited from Drawable.)
Public method WblockClone (Inherited from DBObject.)
Public method WorldDraw (Inherited from Drawable.)
Public method X (Inherited from RXObject.)
Public method XDataTransformBy (Inherited from DBObject.)
Top
Events
  Name Description
Public eventStatic member BlockInsertionPoints
Occurs during the insertion of a block for which insertion points are defined.
Public event Cancelled (Inherited from DBObject.)
Public event Copied (Inherited from DBObject.)
Public event Erased (Inherited from DBObject.)
Public event Goodbye (Inherited from DBObject.)
Public event Modified (Inherited from DBObject.)
Public event ModifiedXData (Inherited from DBObject.)
Public event ModifyUndone (Inherited from DBObject.)
Public event ObjectClosed (Inherited from DBObject.)
Public event OpenedForModify (Inherited from DBObject.)
Public event Reappended (Inherited from DBObject.)
Public event SubObjectModified (Inherited from DBObject.)
Public event Unappended (Inherited from DBObject.)
Top
Fields
  Name Description
Public fieldStatic member ModelSpace
Represents the modelspace block.
Public fieldStatic member PaperSpace
Represents the paperspace block.
Top
See Also

©  Bricsys NV. All rights reserved.