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: (
public static void SetOrientation(
	this DimensionData dimData,
	Point originPt,
	Vector orientation


Type: CodeStack.SwEx.MacroFeature.DataDimensionData
Dimension data>
Type: CodeStack.SwEx.MacroFeature.DataPoint
Dimension starting attach point
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).
See Also