Offsets the selected sketch entities.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim Offset As System.Double
Dim BothDirections As System.Boolean
Dim Chain As System.Boolean
Dim CapEnds As System.Integer
Dim MakeConstruction As System.Integer
Dim AddDimensions As System.Boolean
Dim value As System.Boolean
value = instance.SketchOffset2(Offset, BothDirections, Chain, CapEnds, MakeConstruction, AddDimensions) |
Parameters
- Offset
- Offset value; negative value offsets the sketch entities in the opposite direction
- BothDirections
- True to offset the sketch entities in both directions, false to offset the sketch entities in one direction
- Chain
True to offset the chain of sketch entities, false to offset only the selected sketch entities (see Remarks)
- CapEnds
- Cap the ends as defined by swSkOffsetCapEndType_e
- MakeConstruction
- Convert original and offset sketch entities to construction sketch entities as defined by swSkOffsetMakeConstructionType_e
- AddDimensions
True to include the offset distance in the sketch, false to not
Return Value
True if the selected sketch entities are offset, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2016 FCS, Revision Number 24.0