ICadSketchRedefine Method |
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: 23.0
Syntax Sub Redefine (
sketchName As String,
planeName As String,
originName As String,
axisName As String,
Optional AxisIsX As Boolean = true,
Optional NaturalAxisDirection As Boolean = true
)
void Redefine(
string sketchName,
string planeName,
string originName,
string axisName,
bool AxisIsX = true,
bool NaturalAxisDirection = true
)
Parameters
- sketchName
- Type: SystemString
The name of the sketch. - planeName
- Type: SystemString
The name of an entity to use as the sketch plane. - originName
- Type: SystemString
The name of an entity to use as the origin point of the sketch. - axisName
- Type: SystemString
The name of an entity to use as a sketch axis (either X or Y axis). - AxisIsX (Optional)
- Type: SystemBoolean
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: SystemBoolean
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.
See Also