ConstructionLine

Enables the construction and generation of straight line edges directly within Mechanical.

Defines a ConstructionLine.

Declaration Syntax

public class ConstructionLine : ImportedDataModelObject

Table 893: Members

Property

Comments

Gets the list of associated comments.

Property

DataModelObjectCategory

Gets the current DataModelObject's category.

Property

Edges

Creates for the user an IEdge representation of each edge in this Construction Line.

Property

Figures

Gets the list of associated figures.

Property

Images

Gets the list of associated images.

Property

InternalObject

Gets the internal object. For advanced usage only.

Property

Planes

Creates for the user an Plane representation of each plane in this Construction Line.

Property

Points

Returns all points in this Construction Line, both those that have been created as well as virtual representations.

Method

AddComment()

Creates a new child Comment.

Method

AddFigure()

Creates a new child Figure.

Method

AddImage(string)

Creates a new child Image. If a filePath is provided, the image will be loaded from that file, if not, the image will be a screen capture of the Geometry window.

Method

AddToGeometry()

Add a part to Geometry with line bodies as contained in this ConstructionLine instance.

Method

CreatePlanarPoints(Plane, IEnumerable<object>)

No details are provided for this entry.

Method

CreatePlane(object)

Create a plane.

Method

CreatePoints(IEnumerable<object>)

Create virtual points according to the provided data.

Method

CreateStraightLines(IEnumerable<Point>)

Create straight line edges by sequential connection of the provided points.

Method

CreateStraightLines(IEnumerable<Point>, IEnumerable<IEnumerable<object>>)

Create straight line edges by connecting the provided points via specified connections.

Method

DeleteEdges(IEnumerable<IEdge>)

Delete edges associated with this construction line.

Method

DeletePlane(Plane, bool)

Delete a plane associated with this construction line.

Method

FlipEdges(IEnumerable<IEdge>)

Flip the direction of the given edge/s.

Method

GetPartFromGeometry()

Get the corresponding part for a ConstructionLine instance.

Method

Redo()

Redo and undone operation in this Construction Line instance.

Method

RemoveFromGeometry()

Remove the corresponding part from the geometry.

Method

Undo()

Undo the last operation in this Construction Line instance.

Method

UpdateGeometry()

Update the corresponding part with any changes made in this ConstructionLine instance.