Table of Contents

Class DimensionLinear

Namespace
FemDesign.Drawing
Assembly
FemDesign.Core.dll
public class DimensionLinear : EntityBase, IStructureElement, IFemDesignEntity
Inheritance
DimensionLinear
Implements
Inherited Members
Extension Methods

Constructors

DimensionLinear(List<Point3d>, Plane)

Construct a new linear dimension from reference points and the plane of the dimension.

public DimensionLinear(List<Point3d> referencePoints, Plane dimPlane)

Parameters

referencePoints List<Point3d>
dimPlane Plane

Fields

Arrow

public Arrow_type Arrow

Field Value

Arrow_type

Dimension line arrow

Decimals

public int Decimals

Field Value

int

Number of decimals of measurement

Font

public Font_type Font

Field Value

Font_type

Dimension text font

LengthUnit

public Lengthunit_type LengthUnit

Field Value

Lengthunit_type

Measurement unit

Plane

public Plane Plane

Field Value

Plane

Plane of dimension. Dimension line will be placed at origin of plane.

ReferencePoints

public List<Point3d> ReferencePoints

Field Value

List<Point3d>

Points to measure. Will measure between the points projection in the plane of the dimension line.

ShowUnit

public bool ShowUnit

Field Value

bool

Show unit after measurement

Properties

DimtextType

public Dimtext_type DimtextType { get; }

Property Value

Dimtext_type

Returns the dimtext type for the first measurement in the chain, will be used for a following measures as well. Will be used to interpret the dimtext options such as decimals and length unit.

Distances

public List<double> Distances { get; }

Property Value

List<double>

Returns the distances between the reference points measured along the plane x-axis.

StruxmlAction

public Modification_type StruxmlAction { get; }

Property Value

Modification_type

Get action as Modification_type

Methods

Initialise()

public void Initialise()

ToString()

public override string ToString()

Returns

string

Operators

implicit operator Dimline_type(DimensionLinear)

public static implicit operator Dimline_type(DimensionLinear d)

Parameters

d DimensionLinear

Returns

Dimline_type