Table of Contents

Class ConstrDefaults

Namespace
CADability.Actions
Assembly
CADability.dll

All default values of the construct actions are static members of this class. So they can be stored from one construction to the other.

public class ConstrDefaults : ConstructAction, ICommandHandler, IPropertyEntry
Inheritance
ConstrDefaults
Implements
Inherited Members

Constructors

ConstrDefaults()

Empty constructor

public ConstrDefaults()

Fields

DefaultArcCenter

The default center of a circle or arc. Normally it is set at the end of an arc-constrution to the center of that arc/circle, so a new arc/circle can start with the center of the last arc/circle by using the TAB-button within the center-textfield to accept the default center.

public static ConstructAction.DefaultGeoPoint DefaultArcCenter

Field Value

ConstructAction.DefaultGeoPoint

DefaultArcDiameter

The default diameter of a circle or arc. Normally it is set at the end of an arc-constrution to the diameter of that arc/circle, so a new arc/circle can start with the radius of the last arc/circle by using the TAB-button within the diameter-textfield to accept the default diameter.

public static ConstructAction.DefaultLength DefaultArcDiameter

Field Value

ConstructAction.DefaultLength

DefaultArcDirection

The default direction of an arc. Normally it is set at the end of an arc-constrution to the direction of that arc, so a new arc can start with the direction of the last arc by using the TAB-button within the direction-textfield to accept the default direction.

public static ConstructAction.DefaultBoolean DefaultArcDirection

Field Value

ConstructAction.DefaultBoolean

DefaultArcRadius

The default radius of a circle or arc. Normally it is set at the end of an arc-constrution to the radius of that arc/circle, so a new arc/circle can start with the radius of the last arc/circle by using the TAB-button within the radius-textfield to accept the default radius.

public static ConstructAction.DefaultLength DefaultArcRadius

Field Value

ConstructAction.DefaultLength

DefaultBoxHeight

The default height of a 3D-box. Normally it is set at the end of a box-constrution to the height of that box, so a new box can start with the height of the last box by using the TAB-button within the height-textfield to accept the default height.

public static ConstructAction.DefaultLength DefaultBoxHeight

Field Value

ConstructAction.DefaultLength

DefaultCopyObjects

The default way of the modification of activated objects. If DefaultCopyObjects is true, a copy of the activated objects is modified, if it is false, the original objects are modified.

public static ConstructAction.DefaultBoolean DefaultCopyObjects

Field Value

ConstructAction.DefaultBoolean

DefaultCutOffAngle

The default angle of the cut-off actions in the tools-menue. Normally it is set at the end of a cut-off action to current angle, so a cut off action can start with the angle of the last action by using the TAB-button within the cut off angle-textfield to accept the default angle.

public static ConstructAction.DefaultAngle DefaultCutOffAngle

Field Value

ConstructAction.DefaultAngle

DefaultCutOffLength

The default length of the cut-off actions in the tools-menue. Normally it is set at the end of a cut off-action to current length, so a cut off action can start with the length of the last action by using the TAB-button within the cut off length-textfield to accept the default length.

public static ConstructAction.DefaultLength DefaultCutOffLength

Field Value

ConstructAction.DefaultLength

DefaultCutOffMethod

The default method of the cut-off actions in the tools-menue. Normally it is set at the end of a cut-off action to current method, so a cut off action can start with the method of the last action by using the TAB-button within the cut off angle-textfield to accept the default method.

public static ConstructAction.DefaultInteger DefaultCutOffMethod

Field Value

ConstructAction.DefaultInteger

DefaultDimPoint

The locationpoint of a dimension. Normally it is set at the end of a dimension-constrution to the current position of that dimension, so a new dimension can start at the location point of the last dimension (plus an offset) by using the TAB-button within the dimensionpoint-textfield to accept the default point.

public static ConstructAction.DefaultGeoPoint DefaultDimPoint

Field Value

ConstructAction.DefaultGeoPoint

DefaultDimensionMethod

The default way of collecting and handling points for a dimension ("0" means only 2 Points, "1" means multiple point input, "2" means 2-point-dimension referred to the first point).

public static ConstructAction.DefaultInteger DefaultDimensionMethod

Field Value

ConstructAction.DefaultInteger

DefaultDimensionPointMethod

The default way of collecting a point for a point or labeling dimension ("true" means snap points, "false" means perpendicular foot points of objects).

public static ConstructAction.DefaultBoolean DefaultDimensionPointMethod

Field Value

ConstructAction.DefaultBoolean

DefaultDirectionOffset

The default method for the way to detect the direction-offset from an object. 0=original, 1=right, 2=opposite, 3=left

public static ConstructAction.DefaultInteger DefaultDirectionOffset

Field Value

ConstructAction.DefaultInteger

DefaultDirectionPoint

The default method for the way to detect the direction from an object. 0=startpoint, 1=start/endpoint, 2=endpoint, 3=midpoint, 4=direction of mouseposition

public static ConstructAction.DefaultInteger DefaultDirectionPoint

Field Value

ConstructAction.DefaultInteger

DefaultEllipseCenter

The default center of an ellipse or ellipsenarc. Normally it is set at the end of an ellipse-constrution to the center of that ellipse, so a new ellipse can start with the center of the last ellipse by using the TAB-button within the center-textfield to accept the default center.

public static ConstructAction.DefaultGeoPoint DefaultEllipseCenter

Field Value

ConstructAction.DefaultGeoPoint

DefaultEllipseMajorRadius

The default majorradius of an ellipse or ellipsearc. Normally it is set at the end of an ellipse-constrution to the majorradius of that ellipse(arc), so a new ellipse(arc) can start with the majorradius of the last ellipse(arc) by using the TAB-button within the majorradius-textfield to accept the default majorradius.

public static ConstructAction.DefaultLength DefaultEllipseMajorRadius

Field Value

ConstructAction.DefaultLength

DefaultEllipseMinorRadius

The default minorradius of an ellipse or ellipsearc. Normally it is set at the end of an ellipse-constrution to the minorradius of that ellipse(arc), so a new ellipse(arc) can start with the minorradius of the last ellipse(arc) by using the TAB-button within the minorradius-textfield to accept the default minorradius.

public static ConstructAction.DefaultLength DefaultEllipseMinorRadius

Field Value

ConstructAction.DefaultLength

DefaultExpandDist

public static ConstructAction.DefaultLength DefaultExpandDist

Field Value

ConstructAction.DefaultLength

DefaultExtrudeDirection

The default direction of an extrude-action.

public static ConstructAction.DefaultGeoVector DefaultExtrudeDirection

Field Value

ConstructAction.DefaultGeoVector

DefaultLineAngle

The default angle of a line. Normally it is set at the end of a line-constrution to the angle of that line, so a new line can start with the angle of the last line by using the TAB-button within the angle-textfield to accept the default angle.

public static ConstructAction.DefaultAngle DefaultLineAngle

Field Value

ConstructAction.DefaultAngle

DefaultLineDirection

The default direction of a line. Normally it is set at the end of a line-constrution to the direction of that line, so a new line can start with the direction of the last line by using the TAB-button within the direction-textfield to accept the default direction.

public static ConstructAction.DefaultGeoVector DefaultLineDirection

Field Value

ConstructAction.DefaultGeoVector

DefaultLineDist

The default dist of a parallel-line. Normally it is set at the end of a line-constrution to the distance of that line to its parallel source, so a new line can start with the distance of the last line by using the TAB-button within the length-textfield to accept the default angle.

public static ConstructAction.DefaultLength DefaultLineDist

Field Value

ConstructAction.DefaultLength

DefaultLineLength

The default length of a line. Normally it is set at the end of a line-constrution to the length of that line, so a new line can start with the length of the last line by using the TAB-button within the length-textfield to accept the default length.

public static ConstructAction.DefaultLength DefaultLineLength

Field Value

ConstructAction.DefaultLength

DefaultLinePosition

The default position a tangent line with direction (Middle or End).

public static ConstructAction.DefaultBoolean DefaultLinePosition

Field Value

ConstructAction.DefaultBoolean

DefaultRectHeight

The default height of a rectangle/parallelogram. Normally it is set at the end of a rectangle-constrution to the height of that rectangle, so a new rectangle/parallelogram can start with the height of the last rectangle/parallelogram by using the TAB-button within the height-textfield to accept the default height.

public static ConstructAction.DefaultLength DefaultRectHeight

Field Value

ConstructAction.DefaultLength

DefaultRectWidth

The default width of a rectangle/parallelogram. Normally it is set at the end of a rectangle-constrution to the width of that rectangle, so a new rectangle/parallelogram can start with the width of the last rectangle/parallelogram by using the TAB-button within the width-textfield to accept the default width.

public static ConstructAction.DefaultLength DefaultRectWidth

Field Value

ConstructAction.DefaultLength

DefaultRoundRadius

The default radius of the round-actions in the tools-menue. Normally it is set at the end of a round-action to current radius, so a round action can start with the radius of the last action by using the TAB-button within the roundradius-textfield to accept the default radius.

public static ConstructAction.DefaultLength DefaultRoundRadius

Field Value

ConstructAction.DefaultLength

DefaultScaleDistort

The default way of the scale-modification of activated objects. If DefaultDistort is true, there can be different factors in the main axis, which will distort the objects

public static ConstructAction.DefaultBoolean DefaultScaleDistort

Field Value

ConstructAction.DefaultBoolean

DefaultStartPoint

The startpoint of a line. Normally it is set at the end of a line-constrution to the endpoint of that line, so a new line can start at the endpoint of the last line by using the TAB-button within the startpoint-textfield to accept the default point.

public static ConstructAction.DefaultGeoPoint DefaultStartPoint

Field Value

ConstructAction.DefaultGeoPoint

DefaultTextSize

The default size of the text in text constructions. Normally it is set at the end of a text construction to current size, so next text construction can start with the size of the last construction by using the TAB-button within the cut off length-textfield to accept the default length.

public static ConstructAction.DefaultLength DefaultTextSize

Field Value

ConstructAction.DefaultLength

Methods

GetID()

Must be implemented by derived class. Returns an identification string. All CADability actions return the unique strings like "Draw.Line.TwoPoints" or "Zoom"

public override string GetID()

Returns

string

the identification of the action