Class Drawing
Metadata for a drawing and access to a PDF rendering of the drawing
Inheritance
System.Object
Drawing
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: DesignData.SDS2.Detail.dll
Syntax
Properties
BillOfMaterial
The bill of material associated with a drawing.
Declaration
public BillOfMaterial BillOfMaterial { get; }
Property Value
DimensioningDefaults
Declaration
public AnnotationDimensioningDefaults DimensioningDefaults { get; }
Property Value
DrawingType
the type of the drawing, detail, sheet, submaterial detail, etc
Declaration
public TableWithDrawings DrawingType { get; }
Property Value
EvuDefaults
Declaration
public ErectionViewDefaults EvuDefaults { get; }
Property Value
Handle
The database handle for this drawing
Declaration
public DrawingHandle Handle { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Status
Accessor object for drawing status information
Declaration
public DrawingStatus Status { get; }
Property Value
Methods
CreatePDF()
Get the PDF as a binary blob. This can be written to a file or stored elsewhere.
Declaration
public byte[] CreatePDF()
Returns
Type |
Description |
System.Byte[] |
|
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Finalize()
Declaration
protected void Finalize()
Find(TableWithDrawings, String)
Find a drawing, and anything referencing it, based on a database table
and the name of the drawing
Declaration
public static DrawingList Find(TableWithDrawings table, string name)
Parameters
Returns
Find(PiecemarkType, String)
Find all drawings referencing the given piecemark. If a piecemark hasn't been detailed
yet it will not have a drawing, so this list will be empty.
Declaration
public static DrawingList Find(PiecemarkType piecemarkType, string piecemark)
Parameters
Type |
Name |
Description |
PiecemarkType |
piecemarkType |
the type of mark, major or minor
|
System.String |
piecemark |
the name of the mark, such as B_1 or p1
|
Returns
Get(DrawingHandle)
Get a drawing based on its location in the database
Declaration
public static Drawing Get(DrawingHandle drawingHandle)
Parameters
Returns
Get(TableWithDrawings, String)
Get a drawing based on a table and its name
Declaration
public static Drawing Get(TableWithDrawings table, string name)
Parameters
Returns
Get(PiecemarkType, String)
Get a drawing based on piecemark type and its name
Declaration
public static Drawing Get(PiecemarkType piecemarkType, string name)
Parameters
Type |
Name |
Description |
PiecemarkType |
piecemarkType |
|
System.String |
name |
|
Returns