-
-
Notifications
You must be signed in to change notification settings - Fork 136
ACadSharp.CadDocument
Albert Domenech edited this page Apr 9, 2025
·
9 revisions
A CAD drawing.
Namespace: ACadSharp
C#
public class CadDocument
Returns | Name | Summary |
---|---|---|
AppIdsTable |
AppIds | The collection of all registered applications in the drawing. |
BlockRecordsTable |
BlockRecords | The collection of all block records in the drawing. |
DxfClassCollection |
Classes | Dxf classes defined in this document. |
ColorCollection |
Colors | The collection of all book colors in the drawing. |
DimensionStylesTable |
DimensionStyles | The collection of all dimension styles in the drawing. |
CadObjectCollection<Entity> |
Entities | Collection with all the entities in the drawing |
GroupCollection |
Groups | The collection of all groups in the drawing. |
UInt64 |
Handle | The document handle is always 0, this field makes sure that no object overrides this value. |
CadHeader |
Header | Contains all the header variables for this document. |
ImageDefinitionCollection |
ImageDefinitions | The collection of all images in the drawing. |
LayersTable |
Layers | The collection of all layers in the drawing. |
LayoutCollection |
Layouts | The collection of all layouts in the drawing. |
LineTypesTable |
LineTypes | The collection of all line types in the drawing. |
MLeaderStyleCollection |
MLeaderStyles | The collection of all Multi leader styles in the drawing. |
MLineStyleCollection |
MLineStyles | The collection of all Multi line styles in the drawing. |
BlockRecord |
ModelSpace | Model space block record containing the drawing |
BlockRecord |
PaperSpace | Default paper space of the model |
CadDictionary |
RootDictionary | Root dictionary of the document. |
ScaleCollection |
Scales | The collection of all scales in the drawing. |
CadSummaryInfo |
SummaryInfo | Accesses drawing properties such as the Title, Subject, Author, and Keywords properties. |
TextStylesTable |
TextStyles | The collection of all text styles in the drawing. |
UCSTable |
UCSs | The collection of all user coordinate systems (UCSs) in the drawing. |
ViewsTable |
Views | The collection of all views in the drawing. |
VPortsTable |
VPorts | The collection of all vports in the drawing. |
Returns | Name | Summary |
---|---|---|
Void |
CreateDefaults | Create the default entries and objects for the . |
CadObject |
GetCadObject(System.UInt64) | Gets an object in the document by it's handle |
T |
GetCadObject<T>(System.UInt64) | Gets an object in the document by it's handle |
Void |
RestoreHandles | Reassign all the handles in the document to avoid the variable to grow past its limit. |
Boolean |
TryGetCadObject<T>(System.UInt64, T@) | Gets an object in the document by it's handle |
Void |
UpdateCollections(System.Boolean) | Updates the collections in the document and link them to it's dictionary |
ACadSharp Class Library Documentation
Documentation created by NetDocGen
- ACadSharp
- ACadSharp.Attributes
- ACadSharp.Blocks
- ACadSharp.Classes
- ACadSharp.Entities
- ACadSharp.Exceptions
- ACadSharp.Header
- ACadSharp.IO
- ACadSharp.IO.DWG
- ACadSharp.Objects
- ACadSharp.Objects.Collections
- ACadSharp.Objects.Evaluations
- ACadSharp.Tables
- ACadSharp.Tables.Collections
- ACadSharp.Types.Units
- ACadSharp.XData
- CSMath
- CSMath.Geometry
- CSUtilities.Attributes
- CSUtilities.Extensions