Database Class

This .NET class wraps the OdDbDatabase class. The Database consists of various objects (header variables, symbol tables, table records, entities, and other objects) that represent a drawing file.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.DatabaseServicesDatabase

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

The Database type exposes the following members.

Constructors
  Name Description
Public method Database Default constructor for the Database class. Creates a new database with a default set of objects (all tables, ModelSpace and PaperSpace blocks, etc.).
Public method Database(Boolean, Boolean) Constructor for the Database class.
Top
Properties
  Name Description
Public property AcadDatabase  
Public property AllowExtendedNames Property that indicates whether symbol tables follow the R14- or R2000+ naming conventions. This property corresponds to the EXTNAMES system variable.
Public property Angbase Property that represents direction of angle 0 with respect to the UCS. This property corresponds to the ANGBASE system variable.
Public property Angdir Property that indicates whether direction of positive angles with respect to the UCS. This property corresponds to the ANGDIR system variable.
Public property AnnoAllVisible Property that indicates whether to hide or display annotative objects that do not support the current annotation scale. This property corresponds to the ANNOALLVISIBLE system variable.
Public property AnnotativeDwg Property that indicates whether the current drawing will act like an annotative block if the drawing is inserted into another drawing. This property corresponds to the ANNOTATIVEDWG system variable.
Public property ApproxNumObjects  
Public property Attmode Property that represents modes for attributes display. This property corresponds to the ATTMODE system variable. This property can have the following values: Value Description 0 All attributes are invisible. 1 Visible attributes are visible, and invisible attributes are invisible. 2 All attributes are visible.
Public property Aunits Property that represents modes for angular units display. This property corresponds to the AUNITS system variable. This property can have the following values: Value Description 0 Degrees 1 Degrees-Minutes-Seconds 2 Gradians 3 Radians 4 Surveyor Units
Public property Auprec Property that represents number of decimal places in the display of angular units. This property corresponds to the AUPREC system variable.
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property BlockTableId Property that represents object ID of the BlockTable of this database object.
Public property ByBlockLinetype Property that represents object ID of the "ByBlock" Linetype object.
Public property ByLayerLinetype Property that represents object ID of the "ByLayer" Linetype object.
Public property CameraDisplay Property that indicates whether camera glyphs are displayed. This property corresponds to the CAMERADISPLAY system variable.
Public property CameraHeight Property that represents default height for new camera objects, in drawing units. This property corresponds to the CAMERAHEIGHT system variable.
Public property Cannoscale Property that represents current annotation scale used by the current viewport. This property corresponds to the CANNOSCALE system variable.
Public property Cecolor Property that represents default color for new entities. This property corresponds to the CECOLOR system variable.
Public property Celtscale Property that represents default linetype scale for new entities. This property corresponds to the CELTSCALE system variable.
Public property Celtype Property that represents object ID of the default linetype for new entities. This property corresponds to the CELTYPE system variable.
Public property Celweight Property that represents default lineweight for new entities. This property corresponds to the CELWEIGHT system variable.
Public property Cetransparency Property that represents default transparency for new entities (excluding hatches, see HPTRANSPARENCY property). This property corresponds to the CETRANSPARENCY system variable.
Public property CGEOCS Returns system CGEOCS variable of this database.
Public property Chamfera Property that represents default value of the first chamfer distance in drawing units. This property corresponds to the CHAMFERA system variable.
Public property Chamferb Property that represents default value of the second chamfer distance in drawing units. This property corresponds to the CHAMFERB system variable.
Public property Chamferc Property that represents default value of the chamfer length in drawing units. This property corresponds to the CHAMFERC system variable.
Public property Chamferd Property that represents default value of the chamfer angle in radians. This property corresponds to the CHAMFERD system variable.
Public property Clayer Property that represents object ID of the default layer for new entities. This property corresponds to the CLAYER system variable.
Public property Cmaterial Property that represents material of new objects. This property corresponds to the CMATERIAL system variable.
Public property Cmljust Property that represents default justification for new multiline entities. This property corresponds to the CMLJUST system variable. This property can have the following values: Value Description 0 Top 1 Middle 2 Bottom
Public property Cmlscale Property that represents default width scale for new multiline entities. This property corresponds to the CMLSCALE system variable.
Public property CmlstyleID Property that represents object identifier of default style for new multi-line entities. This property corresponds to the CMLSTYLE system variable.
Public property ColorDictionaryId Property that represents object identifier of the Color dictionary of this database object.
Public property ContinuousLinetype Property that represents object identifier of the "Continuous" Linetype object of this database object.
Public property Cshadow Property that represents shadow modes for 3D objects. This property corresponds to the CSHADOW system variable. This property can have the following values: Value Description 0 Shadows cast and received. 1 Shadows cast, but not received. 2 Shadows received but not cast. 3 Shadows neither cast nor received.
Public property CurrentSpaceId Property that represents object ID of the BlockTableRecord associated with the active layout of this database object.
Public property CurrentViewportTableRecordId Property that represents object identifier of active viewport in the ViewportTable of this database object (if model layout tab is currently active).
Public property DataLinkDictionaryId Property that represents object identifier of DataLink dictionary of this database object.
Public property DataLinkManager Property that represents a DataLinkManager.
Public property DetailViewStyleDictionaryId Property that represents object ID of the DetailViewStyle dictionary of this database object.
Public property DgnFrame Property that represents visibility and plotting of the DGN frame. This property corresponds to the DGNFRAME system variable. This property can have the following values: Value Description 0 Not visible and not plotted. 1 Visible and plotted. 2 Visible but not plotted.
Public property Dimadec Property that controls number of decimal places in angular dimensions. This property corresponds to the DIMADEC system variable. If DIMADEC == –1, the number of decimal places is determined by DIMDEC.
Public property Dimalt Property that controls the display of alternate measurements in dimensions. This property corresponds to the DIMALT system variable.
Public property Dimaltd Property that controls the number of decimal places in alternate measurements in dimensions. This property corresponds to the DIMALTD system variable.
Public property Dimaltf Property that controls the distance multiplier for alternate measurements in dimensions. This property corresponds to the DIMALTF system variable.
Public property Dimaltrnd Property that controls the rounding of alternate measurements in dimensions. This property corresponds to the DIMALTRND system variable. If DIMALTRND == 0.0, no rounding is performed.
Public property Dimalttd Property that controls the number of decimal places in tolerance values in alternate measurements in dimensions. This property corresponds to the DIMALTTD system variable.
Public property Dimalttz Property that controls zero suppression in tolerance values in alternate measurements in dimensions. This property corresponds to the DIMALTTZ system variable. This property can have the following values: Value Description 0 Suppress zero feet and exactly zero inches. 1 Include zero feet and exactly zero inches. 2 Include zero feet and suppress exactly zero inches. 3 Suppress zero feet and include exactly zero inches. 4 Suppress leading decimal zeros. 8 Suppress trailing decimal zeros. 12 Suppress leading and trailing decimal zeros.
Public property Dimaltu Property that controls the formatting for alternate units in dimensions. This property corresponds to the DIMALTU system variable. This property can have the following values: Value Description 1 Scientific 2 Decimal 3 Engineering 4 Architectural (stacked) 5 Fractional (stacked) 6 Architectural 7 Fractional 8 Microsoft Windows Desktop
Public property Dimaltz Property that controls zero suppression in tolerance values in alternate measurements in dimensions. This property corresponds to the DIMALTZ system variable. This property can have the following values: Value Description 0 Suppress zero feet and exactly zero inches. 1 Include zero feet and exactly zero inches. 2 Include zero feet and suppress exactly zero inches. 3 Suppress zero feet and include exactly zero inches. 4 Suppress leading decimal zeros. 8 Suppress trailing decimal zeros. 12 Suppress leading and trailing decimal zeros.
Public property Dimapost  
Public property Dimarcsym Property that controls the placement of arc symbols in arc length dimensions. This property can have the following values: Value Description 0 Before the dimension text. 1 Above the dimension text. 2 Not displayed.
Public property Dimaso Property that represents the creation modes of Associative dimension objects. This property corresponds to the DIMASO system variable. This property can have the following values: Value Description false Creates unexploded dimensions. true Creates un-associative dimension entities.
Public property DimAssoc Property that represents the associativity of new dimension entities. This property corresponds to the DIMASSOC system variable. This property can have the following values: Value Description 0 Creates unexploded dimensions. 1 Creates un-associative dimension entities. 2 Creates associative dimension entities.
Public property Dimasz Property that controls the size of dimension and leader arrowheads. This property corresponds to the DIMASZ system variable.
Public property Dimatfit Property that controls how arrows and text are placed when they do not fit within the extension lines of dimensions. This property corresponds to the DIMATFIT system variable. Value Description 0 Moves text and arrows outside extension lines. 1 Moves arrows, then text, outside extension lines. When DIMTMOVE == 1, a leader is added to moved text 2 Moves text, then arrows, outside extension lines. 3 Moves text or arrows for best fit.
Public property Dimaunit Property that controls formatting for units in angular dimensions. This property corresponds to the DIMAUNIT system variable. Value Description 0 Decimal Degrees 1 Degrees-Minutes-Seconds 2 Gradians 3 Radians 4 Surveyor's Units
Public property Dimazin Property that controls zero suppression in angular dimensions. This property corresponds to the DIMAZIN system variable. Value Description 0 Display leading and trailing decimal zeros. 1 Suppress leading decimal zeros. 2 Suppress trailing decimal zeros. 3 Suppress leading and trailing decimal zeros.
Public property Dimblk Property that controls arrowhead block at the ends of dimension lines and leader lines. A null value specifies the default arrowhead is to be used. This property corresponds to the DIMBLK system variable.
Public property Dimblk1 Property that controls the first arrowhead block at the ends of dimension lines when DIMSAH == true. A null value specifies the default arrowhead is to be used. This property corresponds to the DIMBLK1 system variable.
Public property Dimblk2 Property that controls the second arrowhead block at the ends of dimension lines when DIMSAH == true. A null value specifies the default arrowhead is to be used. This property corresponds to the DIMBLK2 system variable.
Public property Dimcen Property that controls the generation of arc and circle center marks and lines. This property corresponds to the DIMCEN system variable. The absolute value of DIMCEN specifies the size of the center mark, which half the length of the center mark, which is also the length of the portion of a center line beyond the arc or circle, as well as the length of the gap between the center mark and line. The sign of DIMCEN controls the generation of center marks and center lines: Value Description <0 Center marks and center lines. 0 No center marks or center lines. >0 Center lines.
Public property Dimclrd Property that controls the color of dimension lines, leader lines, frames, and arrowheads. This property corresponds to the DIMCLRD system variable.
Public property Dimclre Property that controls the color of extension lines, enter marks, and centerlines. This property corresponds to the DIMCLRE system variable.
Public property Dimclrt Property that controls the color of dimension text. This property corresponds to the DIMCLRT system variable.
Public property Dimdec Property that controls the number of decimal places in primary units in dimensions. This property corresponds to the DIMDEC system variable.
Public property Dimdle Property that controls the distance dimension lines extend beyond extension lines when arrowheads are architectural, integral, oblique, tick, or none. This property corresponds to the DIMDLE system variable.
Public property Dimdli Property that controls the distance between dimension lines for baseline dimensions. This property corresponds to the DIMDLI system variable.
Public property Dimdsep Property that controls the decimal separator for dimensions. This property corresponds to the DIMDSEP system variable.
Public property Dimexe Property that controls the distance extension lines extend beyond dimension lines. This property corresponds to the DIMEXE system variable.
Public property Dimexo Property that controls the distance extensions are offset from their origin points. This property corresponds to the DIMEXO system variable. DIMEXO specifies a minimum value when fixed-length extension lines are used.
Public property Dimfrac Property that controls the fraction format when DIMLUNIT == 4 or 5. This property corresponds to the DIMFRAC system variable.
Public property Dimfxl Property that controls the fraction format when DIMLUNIT == 4 or 5. This property corresponds to the DIMFRAC system variable. Value Description 0 Horizontal Stacked 1 Diagonal Stacked 2 Not Stacked
Public property DimfxlenOn Property that controls the generation of fixed-length extension lines. This property corresponds to the DIMFXLON system variable. Value Description false Variable length true Fixed length
Public property Dimgap Property that controls the gap between dimension text and dimension lines. * A negative value for DIMGAP draws a reference box round the dimension text. * Text is placed inside a dimension line only if there will be two line segments each as long as abs(DIMGAP). This property corresponds to the DIMGAP system variable.
Public property Dimjogang Property that controls the jog angle of dimension lines in jogged radius dimensions. This property corresponds to the DIMJOGANG system variable.
Public property Dimjust Property that controls the dimension text horizontal position. This property corresponds to the DIMJUST system variable. Value Description 0 Centered above the dimension line. 1 By the first extension line. 2 By the second extension line. 3 Above the dimension line, parallel to the first extension line. 4 Above the dimension line, parallel to the second extension line.
Public property Dimldrblk Property that controls the arrowhead block at the ends of leader lines. A null value specifies the default arrowhead is to be used. This property corresponds to the DIMLDRBLK system variable.
Public property Dimlfac Property that controls the distance multiplier for measurements in dimensions. This property corresponds to the DIMLFAC system variable.
Public property Dimlim Property that controls the display of dimension limits. This property corresponds to the DIMLIM system variable. Value Description false Disabled true Enabled
Public property Dimltex1 Property that controls the linetype of first extension lines. This property corresponds to the DIMLTEX1 system variable.
Public property Dimltex2 Property that controls the linetype of second extension lines. This property corresponds to the DIMLTEX2 system variable.
Public property Dimltype Property that controls the linetype of dimension lines. This property corresponds to the DIMLTYPE system variable.
Public property Dimlunit Property that controls the formatting for units in non-angular dimensions. This property corresponds to the DIMLUNIT system variable. Value Description 1 Scientific 2 Decimal 3 Engineering 4 Architectural (stacked) 5 Fractional (stacked) 6 Microsoft Windows Desktop
Public property Dimlwd Property that controls the lineweight for dimension lines. Some specific values: Value Description -1 Lightweight is set to "ByLayer" -2 Lightweight is set to "ByBlock" -3 Lightweight is set to "Default", which is controlled by LWDEFAULT system variable This property corresponds to the DIMLWD system variable.
Public property Dimlwe Property that controls the lineweight for extension lines. Some specific values: Value Description -1 Lightweight is set to "ByLayer" -2 Lightweight is set to "ByBlock" -3 Lightweight is set to "Default", which is controlled by LWDEFAULT system variable This property corresponds to the DIMLWE system variable.
Public property Dimpost  
Public property Dimrnd Property that controls the rounding of measurements in dimensions. This property corresponds to the DIMRND system variable. If DIMRND == 0.0, no rounding is performed.
Public property Dimsah Property that controls the generation of separate arrowheads for dimension lines. This property corresponds to the DIMSAH system variable.
Public property Dimscale Property that controls the scale factor applied to all dimension variables that regulate sizes, offsets, and distances. This property corresponds to the DIMSCALE system variable. DIMSCALE serves as an overall "volume control" for dimensions and leaders. ValueDescription0.0 A "reasonable" value is computed for model space viewports. >0.0 If set to the inverse of the plot scale, plotted dimensions will be at the sizes specified by the other dimension variables.
Public property Dimsd1 Property that controls the suppression of the first dimension line and arrowhead in dimensions. This property corresponds to the DIMSD1 system variable.
Public property Dimsd2 Property that controls the suppression of the second dimension line and arrowhead in dimensions. This property corresponds to the DIMSD2 system variable.
Public property Dimse1 Property that controls the suppression of the first extension line in dimensions. This property corresponds to the DIMSE1 system variable.
Public property Dimse2 Property that controls the suppression of the second extension line in dimensions. This property corresponds to the DIMSE2 system variable.
Public property Dimsoxd Property that controls the suppression of dimension lines outside the extension lines. This property corresponds to the DIMSOXD system variable.
Public property Dimstyle Property that represents object identifier of default dimension style for new entities. This property corresponds to the DIMSTYLE system variable.
Public property DimStyleTableId Property that represents object ID of the DimStyleTable of this database object.
Public property Dimtad Property that controls the dimension text vertical position. This property corresponds to the DIMTAD system variable. Available values: ValueDescription0 Centered about the dimension line. 1 Above the dimension line, unless DIMTIH==1 and the dimension line is not horizontal. 2 Side of the dimension line farthest from the defining points. 3 JIS standard. 4 Text below the dimension line.
Public property Dimtdec Property that controls the number of decimal places in tolerance values for primary units in dimensions. This property corresponds to the DIMTDEC system variable.
Public property Dimtfac Property that controls the size of tolerance and fraction text in dimensions. This property corresponds to the DIMTFAC system variable.
Public property Dimtfill Property that controls the background fill of dimension text. This property corresponds to the DIMTFILL system variable. Available values: ValueDescription0 No fill 1 Drawing background color 2 Color specified by DIMTFILLCLR
Public property Dimtfillclr Property that controls the background fill color of dimension text when DIMTFILL == 2. This property corresponds to the DIMTFILLCLR system variable.
Public property Dimtih Property that controls the orientation of dimension text inside the extension lines. This property corresponds to the DIMTIH system variable. Available values: ValueDescriptionfalse Aligned with dimension line. true Horizontal.
Public property Dimtix Property that controls the orientation of dimension text inside the extension lines. This property corresponds to the DIMTIX system variable. Available values: ValueDescriptionfalse Inside extension lines if there is room. true Inside extension lines.
Public property Dimtm Property that controls the negative of the lower tolerance limit for dimensions. This property corresponds to the DIMTM system variable.
Public property Dimtmove Property that controls the updating of associative dimension objects while dragging. This property corresponds to the DIMTMOVE system variable. Available values: ValueDescription0 Moving dimension text moves the dimension line. 1 Moving dimension text adds a leader. 2 Moving dimension text does not add a leader.
Public property Dimtofl Property that controls the drawing of dimension lines between extension lines when text is outside the dimension lines. This property corresponds to the DIMTOFL system variable. Available values: ValueDescriptionfalse Disabled. true Enabled.
Public property Dimtoh Property that controls the orientation of dimension text outside the extension lines. This property corresponds to the DIMTOH system variable. Available values: ValueDescriptionfalse Aligned with dimension line. true Horizontal.
Public property Dimtol Property that controls the generation of tolerance text in dimensions. This property corresponds to the DIMTOL system variable. Available values: ValueDescriptionfalse Disabled. true Enabled.
Public property Dimtolj Property that controls the vertical justification of tolerance values with respect to the nominal dimension text. This property corresponds to the DIMTOLJ system variable. Available values: ValueDescription0 Bottom 1 Middle 2 Top
Public property Dimtp Property that controls the upper tolerance limit for dimensions. This property corresponds to the DIMTP system variable.
Public property Dimtsz Property that controls the distance, parallel to the dimension line, that the tics extends beyond the extension lines. This property corresponds to the DIMTSZ system variable.
Public property Dimtvp Property that controls the vertical distance of the middle of the dimension text with respect to the dimension line. This property corresponds to the DIMTVP system variable.
Public property Dimtxsty Property that controls the text style for dimension text. This property corresponds to the DIMTXSTY system variable.
Public property Dimtxt Property that controls the size of the dimension text. This property corresponds to the DIMTXT system variable.
Public property Dimtxtdirection  
Public property Dimtzin Property that controls zero suppression in tolerance values in linear dimensions. This property corresponds to the DIMTZIN system variable. Available values: ValueDescription0 Suppress zero feet and exactly zero inches. 1 Include zero feet and exactly zero inches. 2 Include zero feet and suppress exactly zero inches. 3 Suppress zero feet and include exactly zero inches. 4 Suppress leading decimal zeros. 8 Suppress trailing decimal zeros. 12 Suppress leading and trailing decimal zeros.
Public property Dimupt Property that controls the movement of user-positioned text when dimension lines are moved. This property corresponds to the DIMUPT system variable. Available values: ValueDescriptionfalse Moves only the dimension line. true Moves the dimension line and the text.
Public property Dimzin Property that controls zero suppression in linear dimensions. This property corresponds to the DIMZIN system variable. Available values: ValueDescription0 Suppress zero feet and exactly zero inches. 1 Include zero feet and exactly zero inches. 2 Include zero feet and suppress exactly zero inches. 3 Suppress zero feet and include exactly zero inches. 4 Suppress leading decimal zeros. 8 Suppress trailing decimal zeros. 12 Suppress leading and trailing decimal zeros.
Public property DispSilh  
Public property dragvs Property that represents the object identifier of the drag visual style. This property corresponds to the DRAGVS system variable.
Public property DrawOrderCtl Property that controls the display update and inheritance of draworder when using certain editing commands. This property corresponds to the DRAWORDERCTL system variable. The following commands are affected by DRAWORDERCTL: BREAK, EXPLODE, FILLET, HATCH, HATCHEDIT, JOIN, OFFSET, PEDIT, and TRIM. * With Draworder Inheritance on, entities created with these commands assume the draw order of the original objects. * With Draworder Inheritance off, they assume the default draworder (top). * With Display Update on, entities created with the aforementioned editing commands are displayed correctly according to their Draworder. * With Display Update off, they are displayed on top, until the next regeneration. ValueDraworder InheritanceDisplay Update0 Off Off 1 Off On 2 On Off 3 On On
Public property DwfFrame Property that controls the visibility and plotting of the DWF underlay frame. This property corresponds to the DWFFRAME system variable. * With Draworder Inheritance on, entities created with these commands assume the draw order of the original objects. * With Draworder Inheritance off, they assume the default draworder (top). * With Display Update on, entities created with the aforementioned editing commands are displayed correctly according to their Draworder. * With Display Update off, they are displayed on top, until the next regeneration. ValueDraworder InheritanceDisplay Update0 Off Off 1 Off On 2 On Off 3 On On
Public property Elevation Property that controls the default elevation for new entities in the current space or model space. This property corresponds to the ELEVATION system variable.
Public property EndCaps Property that controls the lineweight endcaps for new entities. This property corresponds to the ENDCAPS system variable. ValueDescription0 None 1 Round 2 Angle 3 Square
Public property Extmax Property that controls the upper-right corner of the extents of the Model Space. This property corresponds to the EXTMAX system variable.
Public property Extmin Property that controls the lower-left corner of the extents of the Model Space. This property corresponds to the EXTMIN system variable.
Public property Facetres Property that controls the quality of hidden, shaded, and rendered objects. This property corresponds to the FACETRES system variable.
Public property FileDependencyManager Property that represents an associated file dependency manager.
Public property Filename Property that represents the name of the file associated with this database object.
Public property Filletrad Property that represents the default fillet radius. This property corresponds to the FILLETRAD system variable.
Public property Fillmode Property that controls the rendering of Hatches, 2D Solids, and wide Polylines. This property corresponds to the FILLMODE system variable.
Public property FingerprintGuid Property that uniquely identifies a database. FINGERPRINTGUID is set when the database is created. This property corresponds to the FINGERPRINTGUID system variable.
Public property GeoDataObject Property that represents an object identifier of a GeoDataObject associated with this instance.
Public property GroupDictionaryId Property that represents an object identifier of Group dictionary of this database object.
Public property HaloGap Property that represents the gap to be displayed where one 3D object hides another. This property corresponds to the HALOGAP system variable. HALOGAP is zoom independent, and is specified as a percentage of one drawing unit.
Public property Handseed Property that represents the next available handle number of this database object.
Public property HasRedo Property that indicates whether redo information exists for this database object.
Public property HasUndo Property that indicates whether undo information exists for this database object.
Public property HideText Property that controls the participation of Text and MText entities in HIDE commands. This property corresponds to the HIDETEXT system variable.
Public property HpInherit Property that controls the hatch origin when hatch properties are inherited with the HATCH and HATCHEDIT commands. This property corresponds to the HPINHERIT system variable. ValueDescriptionfalse From HPORIGIN true From source
Public property HpOrigin Property that controls the hatch origin for new hatch entities relative to the current UCS. This property corresponds to the HPORIGIN system variable.
Public property HyperlinkBase Property that controls the base path for relative hyperlinks in this database. This property corresponds to the HYPERLINKBASE system variable. If HYPERLINKBASE is an empty string, the database path is used.
Public property Indexctl Property that controls the creation of layer and spatial indices in the database. This property corresponds to the INDEXCTL system variable. ValueDescription0 None created 1 Layer index created 2 Spatial index created 3 Both created
Public property Insbase Property that controls the WCS insertion base point of the current space or model space. This property corresponds to the INSBASE system variable.
Public property Insunits Property that controls the drawing units used in the automatic scaling of blocks, Xrefs, and images inserted into or attached to this database. This property corresponds to the INSUNITS system variable. NameValueDescriptionUndefined 0 Undefined Inches 1 Inches Feet 2 Feet Miles 3 Miles Millimeters 4 Millimeters Centimeters 5 Centimeters Meters 6 Meters Kilometers 7 Kilometers Microinches 8 Microinches Mils 9 Mils Yards 10 Yards Angstroms 11 Angstroms Nanometers 12 Nanometers Microns 13 Microns Decimeters 14 Decimeters Dekameters 15 Dekameters Hectometers 16 Hectometers Gigameters 17 Gigameters Astronomical 18 Astronomical LightYears 19 LightYears Parsecs 20 Parsecs USSurveyFeet 21 US Survey Feet USSurveyInch 22 US Survey Inch USSurveyYard 23 US Survey Yard USSurveyMile 24 US Survey Mile
Public property Interferecolor Property that controls the color of interference objects. This property corresponds to the INTERFERECOLOR system variable.
Public property Interfereobjvs Property that represents object identifier of the interference object visual style. This property corresponds to the INTERFEREOBJVS system variable.
Public property Interferevpvs Property that represents object identifier of the interference checking visual style for the viewport. This property corresponds to the INTERFEREVPVS system variable.
Public property IntersectColor Property that represents the ACI color index of intersection polylines. Intersection polylines are displayed at the intersections of 3D surfaces if and only if INTERSECTIONDISPLAY == true. This property corresponds to the INTERSECTIONCOLOR system variable.
Public property IntersectDisplay Property that controls the display of intersection polylines. Intersection polylines are displayed at the intersections of 3D surfaces. This property corresponds to the INTERSECTIONDISPLAY system variable.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsEmr Property that indicates whether this database object was created by an educational version of the application.
Public property Isolines Property that controls the number of isolines displayed per surface on 3D solids.
Public property IsPartiallyOpened Property that indicates whether this database object is partially opened.
Public property JoinStyle Property that controls the lineweight join style for new entities. This property corresponds to the JOINSTYLE system variable. NameValueDescriptionStyleNone 0 No style StyleRound 1 Round StyleAngle 2 Angle StyleFlat 3 Flat
Public property LastSavedAsMaintenanceVersion Property that represents the maintenance version that the current drawing was last saved as in the current session.
Public property LastSavedAsVersion Property that represents the version to which this database object was last saved.
Public property Latitude Property that controls latitude of the drawing model in decimal degrees. The default is determined by the country code in the operating system. This property corresponds to the LONGITUDE system variable.
Public property LayerEval Property that controls when the list of unresolved layers is checked for analysis. This property corresponds to the LAYEREVAL system variable. ValueDescription0 No checking 1 Checks when new external reference layers are added 2 Checks when any new layers are added
Public property LayerFilters Property that represents layer filters associated with this database.
Public property LayerNotify Property that controls when an alert is displayed for unresolved layers. This property corresponds to the LAYERNOTIFY system variable. ValueDescription0 Do not display alerts. 1 Display any alerts when printing. 2 Display any alerts when opening drawings. 4 Display any alerts when working with external references (attaching, loading, reloading). 8 Display any alerts when restoring layer states. 16 Display any alerts when saving drawings. 32 Display any alerts when inserting blocks.
Public property LayerStateManager Property that represents layer state manager associated with this database.
Public property LayerTableId Property that represents object ID of the LayerTable of this database object.
Public property LayerZero Property that represents object identifier of the "0" layer object of this database object.
Public property LayoutDictionaryId Property that represents object identifier of the Layout dictionary of this database object.
Public property LensLength Property that controls the length, in millimeters, of the lens used in perspective viewing. This property corresponds to the LENSLENGTH system variable.
Public property LightGlyphDisplay Property that controls the display of light glyphs. This property corresponds to the LIGHTGLYPHDISPLAY system variable. ValueDescription0 Not displayed 1 Displayed
Public property LightingUnits Property that controls the type of lighting that is used and its unit of measurement. This property corresponds to the LIGHTINGUNITS system variable. ValueDescription0 Standard lighting with no lighting units. 1 Photometric lighting with US units. 2 Photometric lighting with international units.
Public property LightsInBlocks Property that controls whether lights that are saved in blocks are used when rendering. This property corresponds to the LIGHTSINBLOCKS system variable. ValueDescription0 Lights in blocks are not used during rendering. 1 Lights in blocks are used during rendering.
Public property Limcheck Property that controls whether objects are allowed outside the grid limits for model space or current space (current layout). This property corresponds to the LIMCHECK system variable. ValueDescriptionfalse Objects outside limits are allowed true Objects outside limits are disallowed
Public property Limmax Property that controls upper-right corner of the grid limits for model space or current space (current layout). This property corresponds to the LIMMAX system variable.
Public property Limmin Property that controls lower-left corner of the grid limits for model space or current space (current layout). This property corresponds to the LIMMIN system variable.
Public property LinetypeTableId Property that represents object ID of the LinetypeTable of this database object.
Public property LineWeightDisplay Property that controls the display of lineweights. This property corresponds to the LWDISPLAY system variable.
Public property LoftAng1 Property that controls the draft angle (in radians) through the first cross section in a loft operation. 0 is measured in the plane of the curve, outward from the curve. Positive angles are measured toward the next cross section. This property corresponds to the LOFTANG1 system variable.
Public property LoftAng2 Property that controls the draft angle through the last cross section in a loft operation. 0 is measured in the plane of the curve, outward from the curve. Positive angles are measured toward the previous cross section. This property corresponds to the LOFTANG2 system variable.
Public property LoftMag1 Property that controls the draft angle mangitude through the first cross section of a lofted solid. This property corresponds to the LOFTMAG1 system variable.
Public property LoftMag2 Property that controls the draft angle mangitude through the last cross section of a lofted solid. This property corresponds to the LOFTMAG2 system variable.
Public property LoftNormals Property that controls the normals of lofted objects as they pass through cross sections. This property corresponds to the LOFTNORMALS system variable. It is ignored when a path or guide curve is specified. NameValueDescriptionkLoftRuled 0 Ruled surface. kLoftSmooth 1 Smooth surface. kLoftFirstNormal 2 Surface is normal to the first cross section. kLoftLastNormal 3 Surface is normal to the last cross section. kLoftEndsNormal 4 Surface is normal to the first and last cross sections. kLoftAllNormal 5 Surface is normal to all cross sections. kLoftUseDraftAngles 6 Surface uses draft angle and magnitude.
Public property LoftParam Property that controls the shape of lofted solids and surfaces. This property corresponds to the LOFTPARAM system variable. LOFTPARAM will be a combination of one or more of the following: NameValueDescriptionkLoftNoParam 0x00 No parameters. kLoftNoTwist 0x01 No twist between cross sections. kLoftAlignDirection 0x02 Align directions of cross sections. kLoftSimplify 0x04 Create simple solids and surfaces. kLoftClose 0x08 Close between the starting and ending cross sections. kLoftDefault 0x07 kLoftNoTwist | kLoftAlignDirection | kLoftSimplify
Public property Longitude Property that controls the longitude of the drawing model in decimal degrees. The default is determined by the country code in the operating system. This property corresponds to the LONGITUDE system variable.
Public property Ltscale Property that controls the global linetype scale factor. This property corresponds to the LTSCALE system variable.
Public property Lunits Property that controls the display of linear units. This property corresponds to the LUNITS system variable. ValueDescription1 Scientific 2 Decimal 3 Engineering 4 Architectural 5 Fractional
Public property Luprec Property that controls the number of decimal places in the display of linear units. This property corresponds to the LUPREC system variable.
Public property MaintenanceReleaseVersion Property that controls the maintenance release version.
Public property MaterialDictionaryId Property that represents object identifier of the Material dictionary of this database object.
Public property Maxactvp Property that represents the maximum of active viewports in a layout. This property corresponds to the MAXACTVP system variable.
Public property Measurement Property that controls the use of metric vs. imperial linetype and hatch pattern files. This property corresponds to the MEASUREMENT system variable. NameValueEnglish 0 Metric 1
Public property Menu Property that controls the path and file name of the customization file. This property corresponds to the MENUNAME system variable.
Public property Mirrtext Property that controls the mirroring of Text with the MIRROR command. This property corresponds to the MIRRTEXT system variable.
Public property MLeaderstyle Property that controls the current multileader style used by the drawing. This property corresponds to the CMLEADERSTYLE system variable.
Public property MLeaderStyleDictionaryId Property that represents object identifier of the current multileader style used by the drawing.
Public property MLStyleDictionaryId Property that represents object identifier of the MLineStyle dictionary of this database object.
Public property MsLtScale  
Public property MsOleScale  
Public property NamedObjectsDictionaryId Property that represents object identifier of the NamedObjects dictionary of this database object.
Public property NorthDirection Property that controls the angle of the Sun from North. This angle is in the context of the WCS. This property corresponds to the NORTHDIRECTION system variable.
Public property NumberOfSaves Property that controls the number of times this database object has been saved since it was opened.
Public property ObjectContextManager Property that represents the ObjectContextManager object of this database object.
Public property ObscuredColor Property that represents the ACI color index of intersection polylines. This property corresponds to the OBSCUREDCOLOR system variable.
Public property OleStartUp Property that represents the OLE source applications load when plotting. This may improve the plot quality. This property corresponds to the OLESTARTUP system variable.
Public property OriginalFileMaintenanceVersion Property that represents maintenance version value that the database file had when it was first opened.
Public property OriginalFileName Property that represents name of a file from which this database was opened (can be null pointer if database was created from a DXF file format or drawing file has a version that is earlier than R13).
Public property OriginalFileSavedByMaintenanceVersion Property that represents the maintenance version value of the last product which saved the drawing file, not counting the current session.
Public property OriginalFileSavedByVersion Property that represents the version value of the last product which saved the drawing file, not counting the current session.
Public property OriginalFileVersion Property that represents the version of the file from which this database object was read.
Public property Orthomode Property that controls the constraint of cursor movement to the perpendicular. This property corresponds to the ORTHOMODE system variable. ValueDescriptionfalse Not constrained true Constrained
Public property PaperSpaceVportId Property that represents the object identifier of the paperspace Viewport for the database.
Public property Pdmode Property that controls the display of Point entities. This property corresponds to the PDMODE system variable.
Public property Pdsize Property that controls the display size of point entities. This property corresponds to the PDSIZE system variable. ValueDescription<0 Fraction of viewport size in drawing units. 0 5% of viewport size in drawing units. >0 Size in drawing units.
Public property Pelevation Property that controls the default elevation for new entities in the current paper space. This property corresponds to the PELEVATION system variable.
Public property Pextmax Property that controls the upper-right corner of the extents of the current paper space. This property corresponds to the PEXTMAX system variable.
Public property Pextmin Property that controls the lower-left corner of the extents of the current paper space. This property corresponds to the PEXTMIN system variable.
Public property Pinsbase Property that controls the WCS insertion base point of the current paper space. This property corresponds to the PINSBASE system variable.
Public property Plimcheck Property that controls whether objects are allowed outside the grid limits for paper space (current paper layout). This property corresponds to the PLIMCHECK system variable.
Public property Plimmax Property that controls the upper-right corner of the grid limits for paper space (current paper layout). This property corresponds to the PLIMMAX system variable.
Public property Plimmin Property that controls the lower-left corner of the grid limits for paper space (current paper layout). This property corresponds to the PLIMMIN system variable.
Public property PlineEllipse Property that controls whether polylines or ellipses are to be generated by the ELLIPSE command. This property corresponds to the PELLIPSE system variable. ValueDescriptionfalse Ellipses true Polylines
Public property Plinegen Property that controls the generation of linetypes for Polylines. This property corresponds to the PLINEGEN system variable. ValueDescriptionfalse Each segment starts and ends in a dash. true Linetype generation is continuous, ignoring the vertices.
Public property Plinewid Property that controls the default width for new Polyline entities. Value should be greater than or equal to 0. This property corresponds to the PLINEWID system variable.
Public property PlotSettingsDictionaryId Property that represents the object identifier of the PlotSettings dictionary for the database.
Public property PlotStyleMode Property that indicates whether this database is using color-dependent plot styles (true), or named plot styles (false).
Public property PlotStyleNameDictionaryId Property that represents the object identifier of the PlotStyleName dictionary for the database.
Public property PlotStyleNameId Property that represents PlotStyleDescriptor that encapsulates information about object identifier of a plot and type of plot style name.
Public property ProjectName Property that controls the project name associated with the database. This property corresponds to the PROJECTNAME system variable.
Public property Psltscale Property that controls the generation of linetypes for Polylines in paper space. This property corresponds to the PSLTSCALE system variable. ValueDescriptionfalse Dash lengths in model space are based on model space drawing units. true Dash lengths in model space are based on paper space drawing units. When PSLTSCALE is true, linetypes in viewports will appear the same size as those in paper space.
Public property PsolHeight Property that controls the default height, in drawing units, used by the POLYSOLID command, for swept solid objects. This property corresponds to the PSOLHEIGHT system variable.
Public property PsolWidth Property that controls the default width for swept solids. This property corresponds to the PSOLWIDTH system variable.
Public property PucsBase Property that controls the UCS that defines the orthographic UCS orientation for the current paper space. This property corresponds to the PUCSBASE system variable.
Public property Pucsname Property that controls the current UCS for the current paper space. This property corresponds to the PUCSNAME system variable.
Public property Pucsorg Property that controls the WCS origin of the current UCS of the current paper space. This property corresponds to the PUCSORG system variable.
Public property Pucsxdir Property that controls the WCS x-direction of the current UCS of the current paper space. This property corresponds to the PUCSXDIR system variable.
Public property Pucsydir Property that controls the WCS y-direction of the current UCS of the current paper space. This property corresponds to the PUCSYDIR system variable.
Public property Qtextmode Property that controls the display of text. This property corresponds to the QTEXTMODE system variable. ValueDescriptionfalse Text is displayed true Bounding box is displayed
Public property RegAppTableId Property that represents object ID of the RegAppTable of this database object.
Public property Regenmode Property that controls automatic regeneration. This property corresponds to the REGENMODE system variable.
Public property RetainOriginalThumbnailBitmap Property that indicates whether thumbnail bitmap toggle flag. If this property is true, the Database will always try to retain the original image, no matter what other action is taken.
Public property Saveproxygraphics Property that controls the saving of proxy images with the database. This property corresponds to the PROXYGRAPHICS system variable.
Public property SectionManagerId Property that represents the object identifier of the section manager for the database.
Public property SectionViewStyleDictionaryId Property that represents object ID of the SectionViewStyle dictionary of this database object.
Public property SecurityParameters Property that represents security parameters of this database.
Public property Shadedge Property that controls the rendering of faces and edges with the SHADE command. This property corresponds to the SHADEDGE system variable.
Public property Shadedif Property that controls the percentage of diffuse reflective light (vs. ambient light) when (SHADEDGE == 0) || (SHADEDGE == 1). This property corresponds to the SHADEDIF system variable.
Public property ShadowPlaneLocation Property that controls the location on the current Z-axis of an invisible ground plane used to display shadows. The shadow plane casts and receives shadows. This property corresponds to the SHADOWPLANELOCATION system variable.
Public property ShowHist Property that controls the History display for solids in a drawing. This property corresponds to the SHOWHIST system variable. ValueDescription0 Hides all history. 1 Uses the individual solid Show History properties. 2 Displays all history.
Public property Sketchinc Property that controls the recording increment for the SKETCH command. This property corresponds to the SKETCHINC system variable.
Public property Skpoly Property that controls the generation of polylines during the SKETCH command. This property corresponds to the SKPOLY system variable. ValueDescriptionfalse Generates Lines true Generates Polylines
Public property SolidHist Property that controls the default history retention setting for all solids. When enabled, a history of the solids comprising a composite solid is retained. This property corresponds to the SOLIDHIST system variable.
Public property SortEnts Property that controls the object sort order. This property corresponds to the SORTENTS system variable. SORTENTS will be a combination of the following: ValueDescription0 No sorting 1 Object selection sorting 2 Object snap sorting 4 Clears all checkboxes 8 MSLIDE command sorting 16 REGEN command sorting 32 Plotting sorting 64 Clears all checkboxes
Public property Splframe Property that controls the display of control polygons for Splines and spline-fit Polylines. This property corresponds to the SPLFRAME system variable.
Public property Splinesegs Property that controls the number of segments for spline-fit polylines generated by the PEDIT/Spline command. The value is a non-zero integer number from -32768 to 32767. A negative value generates circular segments. A positive value generates linear segments. A zero value is not applicable. Fit-type polylines use arcs as approximating segments. This property corresponds to the SPLINESEGS system variable.
Public property Splinetype Property that controls the type of spline generated by the PEDIT/Spline command. This property corresponds to the SPLINETYPE system variable.
Public property StepSize Property that controls the size of each step in drawing units, in walk or fly mode. This property corresponds to the STEPSIZE system variable.
Public property StepsPerSec Property that controls the number of steps taken per second in walk or fly mode. This property corresponds to the STEPSPERSEC system variable.
Public property StyleSheet Property that controls the name of the style sheet for the active layout. This property corresponds to the STYLESHEET system variable.
Public property SummaryInfo Property that represents the database summary information including author, comments, keyswords, revision number and other pieces of information.
Public property Surftab1 Property that controls the number of tabulations generated in the M direction by the EDGESURF, REVSURF, RULESURF, and TABSURF commands. This property corresponds to the SURFTAB1 system variable.
Public property Surftab2 Property that controls the number of tabulations generated in the N direction by the EDGESURF and REVSURF commands. This property corresponds to the SURFTAB2 system variable.
Public property Surftype Property that controls the type of surface fitting for the PEDIT/Smooth command. This property corresponds to the SURFTYPE system variable. ValueDescription5 Quadratic B-spline surface 6 Cubic B-spline surface 8 Bezier surface
Public property Surfu Property that controls the surface density in the M direction for the PEDIT/Smooth command. This property corresponds to the SURFU system variable.
Public property Surfv Property that controls the surface density in the N direction for the PEDIT/Smooth command. This property corresponds to the SURFV system variable.
Public property Tablestyle Property that controls the default style for new table entities. This property corresponds to the CTABLESTYLE system variable.
Public property TableStyleDictionaryId Property that represents object identifier of the TableStyle dictionary of this database object.
Public property Tdcreate Property that represents the time and date, in local time, that the database was created. This property corresponds to the TDCREATE system variable.
Public property Tdindwg Property that represents the total editing time of the database. This property corresponds to the TDINDWG system variable.
Public property Tducreate Property that represents the time and date, in Universal time, that the database was created. This property corresponds to the TDUCREATE system variable.
Public property Tdupdate Property that represents the time and date, in local time, that the database was last saved. This property corresponds to the TDUPDATE system variable.
Public property Tdusrtimer Property that represents the user-elapsed timer. This property corresponds to the TDUSRTIMER system variable.
Public property Tduupdate Property that represents the time and date, in Universal time, that the database was last saved. This property corresponds to the TDUUPDATE system variable.
Public property Textsize Property that represents default size for new text entities in the current text style. This property corresponds to the TEXTSIZE system variable.
Public property Textstyle Property that represents object ID of the "Standard" text style. This property corresponds to the TEXTSTYLE system variable.
Public property TextStyleTableId Property that represents object ID of the TextStyleTable of this database object.
Public property Thickness Property that represents the default 3D thickness for new entities. This property corresponds to the THICKNESS system variable.
Public property ThumbnailBitmap Property that represents the thumbnail bitmap associated with this database object.
Public property TileMode Property that controls whether model or paper layout tab is active for database. This property corresponds to the TILEMODE system variable. ValueDescriptionfalse Current paper layout tab is active. true Model layout tab is active.
Public property TileModeLightSynch Property that controls the sychronization of lighting in all model space viewports. This property corresponds to the TILEMODELIGHTSYNCH system variable. ValueDescription0 Not synchronized 1 Synchronized
Public property TimeZone Property that controls the time zone for sun studies in the drawing. This property corresponds to the TIMEZONE system variable. TIMEZONE represents hours and minutes away from Greenwich Mean Time.
Public property Tracewid Property that controls the default width for new trace entities. This property corresponds to the TRACEWID system variable.
Public property TransactionManager Property that represents transaction manager for this database.
Public property Treedepth Property that controls depth of the spatial index. Spatial indexing, along with layer indexing, is used to maximize performance of demand loading and entity selection. This property corresponds to the TREEDEPTH system variable. ValueDescription<0 2D indexing. An integer in the form -MMMPP specifies the depths for model space (MMM) and paper space (PP). 0 Disables spatial indexing. >0 3D indexing. An integer in the form MMMPP specifies the depths for model space (MMM) and paper space (PP).
Public property TStackAlign Property that controls the alignment of stacked text. This property corresponds to the TSTACKALIGN system variable. ValueDescription0 Bottom. 1 Center. 2 Top.
Public property TstackSize Property that controls the size of stacked text as a percentage of the current text height. This property corresponds to the TSTACKSIZE system variable.
Public property UcsBase Property that controls object identifier of the UCS that defines the orthographic UCS orientation for model space. This property corresponds to the UCSBASE system variable.
Public property Ucsname Property that controls object identifier of the current UCS for the current viewport of the current space or model space. This property corresponds to the UCSNAME system variable.
Public property Ucsorg Property that controls the WCS origin of the current UCS for the current viewport in the current space or model space. This property corresponds to the UCSORG system variable.
Public property UcsOrthographic Property that controls the model space orthographic UCS with respect to the base UCS. This property corresponds to the UCSORTHOVIEW system variable. ValueDescription0 Non-orthographc 1 Top 2 Bottom 3 Front 4 Back 5 Left 6 Right
Public property UcsTableId Property that represents object ID of the UCSTable of this database object.
Public property Ucsxdir Property that controls the WCS x-direction of the current UCS for the current viewport in the current space or model space. This property corresponds to the UCSXDIR system variable.
Public property Ucsydir Property that controls the WCS y-direction of the current UCS for the current viewport in the current space or model space. This property corresponds to the UCSYDIR system variable.
Public property UndoRecording Property that indicates whether there is current object used for undo file input/output operations.
Public property Unitmode Property that controls the unit display format for Architectural Units and Surveyor's Units. This property corresponds to the UNITMODE system variable. ValueArchitectural UnitsSurveyor's Units0 12'-5 1/4" N 48d0'0" E 1 12'5-1/4" N 48d0'0" E
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property UpdateThumbnail Property that controls the updating of preview images in the Sheet Set Manager. This property corresponds to the UPDATETHUMBNAIL system variable. UPDATETHUMBNAIL will be a combination of one or more of the following: ValueDescription0 Do not update previews. 0x01 Update model view previews. 0x02 Update sheet view previews. 0x04 Update sheet previews. 0x08 Update previews when sheets and views are modified, restored, or created. 0x16 Update previews when database is saved.
Public property Useri1 Property that is 'reserved for user applications'. This property corresponds to the USERI1 system variable.
Public property Useri2 Property that is 'reserved for user applications'. This property corresponds to the USERI2 system variable.
Public property Useri3 Property that is 'reserved for user applications'. This property corresponds to the USERI3 system variable.
Public property Useri4 Property that is 'reserved for user applications'. This property corresponds to the USERI4 system variable.
Public property Useri5 Property that is 'reserved for user applications'. This property corresponds to the USERI5 system variable.
Public property Userr1 Property that is 'reserved for user applications'. This property corresponds to the USERR1 system variable.
Public property Userr2 Property that is 'reserved for user applications'. This property corresponds to the USERR2 system variable.
Public property Userr3 Property that is 'reserved for user applications'. This property corresponds to the USERR3 system variable.
Public property Userr4 Property that is 'reserved for user applications'. This property corresponds to the USERR4 system variable.
Public property Userr5 Property that is 'reserved for user applications'. This property corresponds to the USERR5 system variable.
Public property Usrtimer Property that controls the user elapsed timer. This property corresponds to the USRTIMER system variable.
Public property VersionGuid Property that uniquely identifies a specific version of a database. This property corresponds to the VERSIONGUID system variable. VERSIONGUID is updated each time the database is saved.
Public property ViewportScaleDefault Property that controls the viewport scale (PS/MS) for new viewports. A scale of 0.0 specifies Scaled to Fit. This property corresponds to the PSVPSCALE system variable.
Public property ViewportTableId Property that represents object ID of the ViewportTable of this database object.
Public property ViewTableId Property that represents object ID of the ViewTable of this database object.
Public property Visretain Property that controls the precedence of layer settings for externally referenced databases. This property corresponds to the VISRETAIN system variable. ValueDescriptionfalse Settings are saved in the external reference. true Settings are saved in the current database.
Public property VisualStyleDictionaryId Property that represents the object identifier of the VisualStyle dictionary of this database object.
Public property Worldview Property that controls the switching of the UCS to the WCS for the duration of the 3DORBIT, DVIEW and VPOINT commands. This property corresponds to the WORLDVIEW system variable. ValueDescriptionfalse UCS is unchanged. true UCS switches to WCS.
Public property XclipFrame Property that controls the visibility of Xref clip boundaries. This property corresponds to the XCLIPFRAME system variable. ValueDescriptiontrue Xref clip boundaries are invisible and not plotted. false Xref clip boundaries are visible and plotted.
Public property XrefBlockId Property that represents the object ID of the BlockTableRecord that references this database object as an Xref.
Public property XrefEditEnabled Property that controls if this database, when an Xref, can be edited in-place. This property corresponds to the XEDIT system variable. ValueDescriptiontrue Not edited in-place. false Edited in-place.
Top
Methods
  Name Description
Public method AbortDeepClone Terminates a call to DeepCloneObjects() or WblockCloneObjects().
Public method AddDBObject Adds an object to this database object, and returns its object ID.
Public method ApplyPartialOpenFilters Filters the model space entities of a database to only bring part of the drawing into memory. The filter applied is the intersection of entities in the view and the entities on the specified layers. Only entities both within the view and on the specified layers are brought into memory.
Public method AttachXref Attaches the external reference file specified by fileName to the database. As a result a new external reference BlockTableRecord is created. The new block table record's name is specified in blockName. Its object ID is returned.
Public method Audit Performs an audit operation on the header of this database object.
Public method AuditXData Performs an audit operation for the user data. Currently not implemented.
Public method BindXrefs  
Public method ClassDxfName Retrieves the class DXF name for the specified class.
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CloseInput Forces all data to be loaded from the input file associated with this database object, and closes the file.
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 CountHardReferences Retrieves a count of hard references to each of the specified object IDs.
Public methodStatic member Create  
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Public method DeepCloneObjects Deep clones a set of objects and appends the clones to the specified owner object.
Public method DetachXref Detaches the specified external reference.
Public method DisablePartialOpen Forbids the partial open operation and forces the entire drawing database to be loaded.
Public method DisableUndoRecording Enables or disables recording of operations performed on this database. If disable==true, undo recording is turned off.
Public method Dispose
(Inherited from DisposableWrapper)
Public method DxfIn Reads content of the specified .dxf file into this database.
Public method DxfOut(String, Int32, Boolean) Writes the contents of this database object to the specified output .dxf file.
Public method DxfOut(String, Int32, DwgVersion) Writes the contents of this database object to the specified output .dxf file.
Public method DxfOut(StreamBuf, Int32, DwgVersion, Boolean) Writes the contents of this database object to the specified output .dxf file.
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Public method ForceWblockDatabaseCopy Causes the next Database.Wblock() call on this database to copy the database. Currently not implemented.
Public methodStatic member FromAcadDatabase Performs a conversion for the specified object of the AcadDatabase type to a database object.
Public methodStatic member GetAllDatabases  
Public method GetDimensionStyleChildData Retrieves the child dimension style data and dimension style object identifier. Currently not implemented.
Public method GetDimensionStyleChildId Retrieves the identifier of the child dimension style. Currently not implemented.
Public method GetDimensionStyleParentId Retrieves the identifier of the parent dimension style. Currently not implemented.
Public method GetDimRecentStyleList Retrieves identifiers of the most recently used dimension styles (up to six). Currently not implemented.
Public method GetDimstyleData Retrieves the database dimension variable values.
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetHostDwgXrefGraph Retrieves the XrefGraph object with the external reference tree of this database.
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetNearestLineWeight Requests a lineweight and returns the nearest C++ OdDb::LineWeight enum number for this database. For example, when the passed value is 8, the returned value is kLnWt009. Currently not implemented.
Public method GetObjectId Retrieves the object ID corresponding to the specified handle object in this database.
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetSupportedDxfOutVersions Retrieves an array that contains versions for the output operation.
Public method GetSupportedSaveVersions Retrieves an array that contains versions for the save operation.
Public method GetType
(Inherited from Object)
Public method GetViewports Retrieves identifiers of viewports.
Public method GetVisualStyleList Retrieves a collection of visual style names contained in the visual style dictionary. Currently not implemented.
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method Insert(Matrix3d, Database, Boolean) Copies the content of a specified database to this database.
Public method Insert(String, Database, Boolean) Copies the content of a specified database to this database.
Public method Insert(String, String, Database, Boolean) Copies the content of a specified database to this database.
Public methodStatic member IsObjectNonPersistent Checks whether a specified object is not persistent.
Public method IsValidLineWeight Checks whether a specified lineweight value matches one of the predefined lineweights.
Public method LoadLineTypeFile Loads a linetype into this database object.
Public method LoadMlineStyleFile Loads an MLineStyle into the specified database object.
Public methodStatic member MarkObjectNonPersistent Marks an object as non-persistent or persistent.
Public method OverlayXref Overlays the specified external reference file to the database. As a result a new external reference BlockTableRecord is created.
Public method Purge(ObjectIdCollection) Removes the object IDs from the specified array that are hard referenced in this database object. After method execution, the ids array contains only object ID entities of objects that are not currently hard-referenced and thus can safely be erased.
Public method Purge(ObjectIdGraph) Removes the nodes from the ID graph that are hard referenced in this database object.
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 ReadDwgFile(IntPtr, Boolean, String) Reads the contents of the drawing pointer by the drawingFile into this database object.
Public method ReadDwgFile(String, FileShare, Boolean, String) Reads the contents of the specified file into this database object.
Public method ReadDwgFile(String, FileOpenMode, Boolean, String) Reads the contents of the specified file name into this database object.
Public method ReadDwgFile(IntPtr, Boolean, String, AuditInfo, Boolean) Reads the contents of the drawing pointer by the drawingFile into this database object.
Public method ReadDwgFile(String, FileShare, Boolean, String, Boolean) Reads the contents of the specified file into this database object.
Public method ReadDwgFile(String, FileOpenMode, Boolean, String, Boolean) Reads the contents of the specified file into this database object.
Public method ReadDwgFileFromMemory Reads the contents of the file, represented by array of bytes, into this database object.
Public method ReclaimMemoryFromErasedObjects Deletes the objects related to the passed object identifiers and performs corresponding cleaning operations. Currently not implemented.
Public method Redo Performs a redo operation on this database object.
Public method ReloadXrefs Reloads the external references for the specified xrefIds identifiers in the block table record.
Public method ResolveXrefs Resolves existing external references for the current working database.
Public method RestoreForwardingXrefSymbols This method must be used with RestoreOriginalXrefSymbols() and should be wrapped around all code with plans to edit and/or save external reference databases.
Public method RestoreOriginalXrefSymbols Returns the database to its modified state (before any original state restoration) by redoing modifications.
Public method Save Saves content of the currently active database. The file is saved with the original file name, type and version.
Public method SaveAs(String, DwgVersion) Saves content of the currently active database according to the passed file name and version.
Public method SaveAs(String, SecurityParameters) Saves content of the currently active database according to the passed file name and security parameters.
Public method SaveAs(StreamBuf, DwgVersion, Boolean) Saves content of the currently active database according to the passed arguments.
Public method SaveAs(String, DwgVersion, Boolean) Saves content of the currently active database according to the passed file name and version.
Public method SaveAs(String, Boolean, DwgVersion, SecurityParameters) Saves content of the currently active database according to the passed arguments.
Public method SaveAs(String, DwgVersion, Boolean, Int32) Saves content of the currently active database according to the passed arguments.
Public method SaveAs(StreamBuf, SaveType, DwgVersion, Boolean, Int32) Saves content of the currently active database according to the passed arguments.
Public method SaveAs(String, SaveType, DwgVersion, Boolean, Int32) Saves content of the currently active database according to the passed arguments.
Public method SetDimstyleData Copies the dimension style data from the specified dimension style table record into this database object.
Public method SetTimeZoneAsUtcOffset Sets the current time zone for this database using an offset from UTC. For example, the offset for the Brasilia Time Zone is -3.0. Currently not implemented.
Public method SetWorldPaperspaceUcsBaseOrigin Sets the new default origin point the the new paper space for the passed view.
Public method SetWorldUcsBaseOrigin Sets the new default origin point the the new model space for the passed view.
Public method StartUndoRecord Starts undo recording of this database object.
Public method TimeZoneDescription Retrieves a description of a time zone.
Public method TimeZoneOffset Retrieves the offset in hours from the time zone passed in, from UTC. For example, the offset for Brasilia time is -3.0.
Public method ToString
(Inherited from Object)
Public method TryGetObjectId Searches for an object identifier by the specified handle.
Public method Undo Performs an undo operation on this database object.
Public method UnloadXrefs Unloads the external references from the block table record which correspond to the passed identifiers.
Public method UpdateExt Recalculates the extents of this database object.
Public method Wblock Clones the entire contents of this database to a new database.
Public method Wblock(ObjectId) Clones the specified block table record of this database to a new database.
Public method Wblock(ObjectIdCollection, Point3d) Clones the specified block table record of this database to a new database.
Public method Wblock(Database, ObjectIdCollection, Point3d, DuplicateRecordCloning)  
Public method WblockCloneObjects Uses the deep cloning mechanism to write specified objects of this database to the new database. The objects can be taken from different source databases and must match the type of owner specified.
Public method WorldPaperspaceUcsBaseOrigin Retrieves the default origin point of the new paper space for the passed view.
Public method WorldUcsBaseOrigin Retrieves the default origin point of the new model space for the passed view.
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)
Public method XBindXrefs  
Top
Events
Extension Methods
  Name Description
Public Extension Method CreateAttributeSet
(Defined by BIMAttributeSetExtension)
Public Extension Method CreatePropertySet
(Defined by BIMPropertySetExtension)
Public Extension Method DeleteAttributeSet
(Defined by BIMAttributeSetExtension)
Public Extension Method DeletePropertySet
(Defined by BIMPropertySetExtension)
Public Extension Method ExportCivil3DToNative
(Defined by Civil3DConversionExtensions)
Public Extension Method GetCivilCurveLabelStyleManager
(Defined by StyleExtension)
Public Extension Method GetCivilFileFormatManager
(Defined by FileFormatExtensions)
Public Extension Method GetCivilGisPropertyManager
(Defined by GisPropertyManagerExtension)
Public Extension Method GetCivilLineLabelStyleManager
(Defined by StyleExtension)
Public Extension Method GetCivilPointGroupManager
(Defined by PointGroupExtension)
Public Extension Method GetCivilPointLabelStyleManager
(Defined by StyleExtension)
Public Extension Method GetCivilPointLabelStylesManager
(Defined by StyleExtension)
Public Extension Method GetCivilSurfaceContourLabelStyleManager
(Defined by StyleExtension)
Public Extension Method GetCivilSurfaceContourLabelStylesManager
(Defined by StyleExtension)
Public Extension Method GetCivilSurfaceElevationLabelStyleManager
(Defined by StyleExtension)
Public Extension Method GetCivilSurfaceElevationLabelStylesManager
(Defined by StyleExtension)
Public Extension Method GetCivilSurfaceSlopeLabelStyleManager
(Defined by StyleExtension)
Public Extension Method GetCivilSurfaceSlopeLabelStylesManager
(Defined by StyleExtension)
Public Extension Method GetCivilSymbolStyleManager
(Defined by StyleExtension)
Public Extension Method GetCivilSymbolStylesManager
(Defined by StyleExtension)
Public Extension Method HasAttributeSet
(Defined by BIMAttributeSetExtension)
Public Extension Method HasPropertySet
(Defined by BIMPropertySetExtension)
Public Extension Method ListAttributeSets
(Defined by BIMAttributeSetExtension)
Public Extension Method ListPropertySets
(Defined by BIMPropertySetExtension)
Public Extension Method SaveBimProfile
(Defined by BIMProfileExtension)
Top
See Also

©  Bricsys NV. All rights reserved.