Show / Hide Table of Contents

Class ConstrDefaults

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

Inheritance
System.Object
Action
ConstructAction
ConstrDefaults
Implements
ICommandHandler
IPropertyEntry
Inherited Members
ConstructAction.TitleId
ConstructAction.CurrentMousePoint
ConstructAction.ShowAttributes
ConstructAction.FeedBack
ConstructAction.ActionDoneEvent
ConstructAction.IPropertyEntry.PropertyEntryChangedStateEvent
ConstructAction.ActiveObject
ConstructAction.ShowActiveObject
ConstructAction.DisassembleBlock
ConstructAction.FindShape(GeoPoint, Plane)
ConstructAction.KeepAsLastStyle(IGeoObject)
ConstructAction.SetInput(Object[])
ConstructAction.BasePoint
ConstructAction.ClearBasePoint()
ConstructAction.CurrentMousePosition
ConstructAction.SetFocus(Object, Boolean)
ConstructAction.OnDone()
ConstructAction.MultiSolution
ConstructAction.MultiSolutionCount
ConstructAction.OnDifferentSolution(Boolean)
ConstructAction.OnSolution(Int32)
ConstructAction.CurrentInput
ConstructAction.AutoRepeat()
ConstructAction.OnMouseMove(MouseEventArgs, IView)
ConstructAction.OnMouseUp(MouseEventArgs, IView)
ConstructAction.MayFinish()
ConstructAction.OnMouseDown(MouseEventArgs, IView)
ConstructAction.OnMouseLeave(EventArgs, IView)
ConstructAction.OnEscape(Object)
ConstructAction.OnEscape()
ConstructAction.OnEnter(Object)
ConstructAction.OnEnter()
ConstructAction.OnTab(Object)
ConstructAction.OnSetAction()
ConstructAction.OnActivate(Action, Boolean)
ConstructAction.OnInactivate(Action, Boolean)
ConstructAction.OnRemoveAction()
ConstructAction.OnViewsChanged()
ConstructAction.FindTangentialPoint(MouseEventArgs, IView, GeoPoint)
ConstructAction.SnapPoint(MouseEventArgs, IView, SnapPointFinder.DidSnapModes)
ConstructAction.SnapPoint(MouseEventArgs, GeoPoint, IView, SnapPointFinder.DidSnapModes)
ConstructAction.LastSnapObject
ConstructAction.LastSnapMode
ConstructAction.OnCommand(String)
ConstructAction.OnUpdateCommand(String, CommandState)
ConstructAction.Finish()
ConstructAction.StartBackgroundTask(Delegate, Delegate, Object[])
ConstructAction.IsBackgroundTaskActive
ConstructAction.CancelBackgroundTask()
ConstructAction.WaitForBackgroundTask()
ConstructAction.IPropertyEntry.IsOpen
ConstructAction.StateChangedEvent
ConstructAction.IPropertyEntry.Opened(Boolean)
ConstructAction.IPropertyEntry.Flags
ConstructAction.IPropertyEntry.ReadOnly
ConstructAction.IPropertyEntry.Label
ConstructAction.IPropertyEntry.Value
ConstructAction.IPropertyEntry.ResourceId
ConstructAction.IPropertyEntry.Parent
ConstructAction.IPropertyEntry.Index
ConstructAction.IPropertyEntry.IndentLevel
ConstructAction.IPropertyEntry.SubItems
ConstructAction.IPropertyEntry.OpenOrCloseSubEntries()
ConstructAction.IPropertyEntry.ButtonClicked(PropertyEntryButton)
ConstructAction.IPropertyEntry.Added(IPropertyPage)
ConstructAction.IPropertyEntry.Removed(IPropertyPage)
ConstructAction.IPropertyEntry.ContextMenu
ConstructAction.IPropertyEntry.GetDropDownList()
ConstructAction.IPropertyEntry.StartEdit(Boolean)
ConstructAction.IPropertyEntry.EndEdit(Boolean, Boolean, String)
ConstructAction.IPropertyEntry.EditTextChanged(String)
ConstructAction.IPropertyEntry.Selected(IPropertyEntry)
ConstructAction.IPropertyEntry.UnSelected(IPropertyEntry)
ConstructAction.IPropertyEntry.Select()
ConstructAction.IPropertyEntry.ListBoxSelected(Int32)
ConstructAction.IPropertyEntry.DeferUpdate
Action.MenuId
Action.IgnoreForSnap
Action.ViewType
Action.OnlyThisModel
Action.OnlyThisView
Action.IsActive
Action.CurrentMouseView
Action.UseFilter
Action.WorksOnLayoutView
Action.OnDisplayChanged(DisplayChangeArg)
Action.OnMouseEnter(EventArgs, IView)
Action.OnMouseHover(EventArgs, IView)
Action.OnMouseWheel(MouseEventArgs, IView)
Action.OnDelete()
Action.OnDelete(Object)
Action.AutoRepeated()
Action.Frame
Action.AutoCursor
Action.ChangeTabInControlCenter
Action.SetCursor(SnapPointFinder.DidSnapModes, IView)
Action.SetCursor(SnapPointFinder.DidSnapModes, String)
Action.WorldPoint(Point)
Action.WorldPoint(MouseEventArgs, IView)
Action.WorldPoint(GeoPoint2D)
Action.WorldLength(Double)
Action.WorldDirection(Angle)
Action.ActiveDrawingPlane
Action.CurveHitTest(ICurve, Point)
Action.GetObjectsUnderCursor(Point)
Action.RemoveThisAction()
Action.PreviousAction
Action.OnSelected(MenuWithHandler, Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public class ConstrDefaults : ConstructAction, ICommandHandler, IPropertyEntry

Constructors

| Improve this Doc View Source

ConstrDefaults()

Empty constructor

Declaration
public ConstrDefaults()

Fields

| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultGeoPoint DefaultArcCenter
Field Value
Type Description
ConstructAction.DefaultGeoPoint
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultArcDiameter
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultBoolean DefaultArcDirection
Field Value
Type Description
ConstructAction.DefaultBoolean
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultArcRadius
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultBoxHeight
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultBoolean DefaultCopyObjects
Field Value
Type Description
ConstructAction.DefaultBoolean
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultAngle DefaultCutOffAngle
Field Value
Type Description
ConstructAction.DefaultAngle
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultCutOffLength
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultInteger DefaultCutOffMethod
Field Value
Type Description
ConstructAction.DefaultInteger
| Improve this Doc View Source

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).

Declaration
public static ConstructAction.DefaultInteger DefaultDimensionMethod
Field Value
Type Description
ConstructAction.DefaultInteger
| Improve this Doc View Source

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).

Declaration
public static ConstructAction.DefaultBoolean DefaultDimensionPointMethod
Field Value
Type Description
ConstructAction.DefaultBoolean
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultGeoPoint DefaultDimPoint
Field Value
Type Description
ConstructAction.DefaultGeoPoint
| Improve this Doc View Source

DefaultDirectionOffset

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

Declaration
public static ConstructAction.DefaultInteger DefaultDirectionOffset
Field Value
Type Description
ConstructAction.DefaultInteger
| Improve this Doc View Source

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

Declaration
public static ConstructAction.DefaultInteger DefaultDirectionPoint
Field Value
Type Description
ConstructAction.DefaultInteger
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultGeoPoint DefaultEllipseCenter
Field Value
Type Description
ConstructAction.DefaultGeoPoint
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultEllipseMajorRadius
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultEllipseMinorRadius
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

DefaultExpandDist

Declaration
public static ConstructAction.DefaultLength DefaultExpandDist
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

DefaultExtrudeDirection

The default direction of an extrude-action.

Declaration
public static ConstructAction.DefaultGeoVector DefaultExtrudeDirection
Field Value
Type Description
ConstructAction.DefaultGeoVector
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultAngle DefaultLineAngle
Field Value
Type Description
ConstructAction.DefaultAngle
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultGeoVector DefaultLineDirection
Field Value
Type Description
ConstructAction.DefaultGeoVector
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultLineDist
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultLineLength
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

DefaultLinePosition

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

Declaration
public static ConstructAction.DefaultBoolean DefaultLinePosition
Field Value
Type Description
ConstructAction.DefaultBoolean
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultRectHeight
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultRectWidth
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultRoundRadius
Field Value
Type Description
ConstructAction.DefaultLength
| Improve this Doc View Source

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

Declaration
public static ConstructAction.DefaultBoolean DefaultScaleDistort
Field Value
Type Description
ConstructAction.DefaultBoolean
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultGeoPoint DefaultStartPoint
Field Value
Type Description
ConstructAction.DefaultGeoPoint
| Improve this Doc View Source

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.

Declaration
public static ConstructAction.DefaultLength DefaultTextSize
Field Value
Type Description
ConstructAction.DefaultLength

Methods

| Improve this Doc View Source

GetID()

Overrides GetID()

Declaration
public override string GetID()
Returns
Type Description
System.String
Overrides
Action.GetID()

Implements

ICommandHandler
IPropertyEntry
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX