Represents a single 2D drawing of a model.
More...
|
|
| Drawing (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
| Drawing (cadex.BaseObject.Initialized arg0) |
| |
| | Drawing (cadex.Drawing.Sheet theSheet) |
| | Constructor. Creates a drawing with a single sheet.
|
| |
| uint | NumberOfSheets () |
| | Returns the number of sheets in the drawing.
|
| |
| void | AddSheet (cadex.Drawing.Sheet theSheet) |
| | Adds a sheet to the drawing.
|
| |
| uint | NumberOfLayers () |
| | Returns the number of layers in the drawing.
|
| |
| void | AddLayer (cadex.Drawing.Layer theLayer) |
| | Adds a layer to the drawing.
|
| |
|
| BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
void | Dispose () |
| |
|
bool | IsNull () |
| |
| ulong | Id () |
| | Return unique identifier of public object.
|
| |
|
bool | IsEqual (cadex.BaseObject theObj) |
| |
|
override int | GetHashCode () |
| |
|
override bool | Equals (System.Object o) |
| |
|
| override void | Dispose (bool disposing) |
| |
Represents a single 2D drawing of a model.
Encapsulates sheets, views and layers with various 2D geometry. An object of this class is a counterpart to the Model class, meaning that it's meant to represent all drawing-related information for a single 3D model. In case the model is entirely 2D, an object corresponds to a single input file.
- See also
- Drawings
- Examples
- MTKConverter/Program.cs, MTKConverter/main.cxx, exploring/drawings/Program.cs, exploring/drawings/main.cxx, and sheet_metal/unfolder/main.cxx.
◆ Drawing()
Constructor. Creates a drawing with a single sheet.
◆ AddLayer()
Adds a layer to the drawing.
◆ AddSheet()
◆ Dispose()
| override void cadex.Drawing.Drawing.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
◆ NumberOfLayers()
| uint cadex.Drawing.Drawing.NumberOfLayers |
( |
| ) |
|
|
inline |
Returns the number of layers in the drawing.
◆ NumberOfSheets()
| uint cadex.Drawing.Drawing.NumberOfSheets |
( |
| ) |
|
|
inline |
Returns the number of sheets in the drawing.