Click or drag to resize

DimensionDataExtensionSetOrientation Method

Sets the direction of the macro feature dimension.

Namespace:  CodeStack.SwEx.MacroFeature.Data
Assembly:  CodeStack.SwEx.MacroFeature (in CodeStack.SwEx.MacroFeature.dll) Version: 0.5.3.0 (0.5.3.0)
Syntax
public static void SetOrientation(
	this DimensionData dimData,
	Point originPt,
	Vector orientation
)

Parameters

dimData
Type: CodeStack.SwEx.MacroFeature.DataDimensionData
Dimension data>
originPt
Type: CodeStack.SwEx.MacroFeature.DataPoint
Dimension starting attach point
orientation
Type: CodeStack.SwEx.MacroFeature.DataVector
Orientation of the dimension. For the linear dimension this is a direction along the measured line. For radial dimension this is a axis of the cylinder

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DimensionData. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
See Also