Redefine a sketch.
This function is most effective for self-contained sketches that do not contain any projected geometry.
Namespace: Autodesk.iLogic.Interfaces
Assembly: Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 29.0
Syntax
VB
Sub Redefine ( sketchName As String, planeName As String, originName As String, axisName As String, Optional AxisIsX As Boolean = true, Optional NaturalAxisDirection As Boolean = true )
C#
void Redefine( string sketchName, string planeName, string originName, string axisName, bool AxisIsX = true, bool NaturalAxisDirection = true )
Parameters
- sketchName
- Type: System.String
The name of the sketch. - planeName
- Type: System.String
The name of an entity to use as the sketch plane. - originName
- Type: System.String
The name of an entity to use as the origin point of the sketch. - axisName
- Type: System.String
The name of an entity to use as a sketch axis (either X or Y axis). - AxisIsX (Optional)
- Type: System.Boolean
The default value of True indicates that the sketch axis specified by axisName is the X (horizontal) axis. False indicates that the axis is the Y (vertical) axis. - NaturalAxisDirection (Optional)
- Type: System.Boolean
The default value of True indicates that the sketch axis is in the same direction as the axisName entity. False indicates that the sketch axis is in the opposite direction.