OffsetSketchEntitiesUsingDistance always constrains
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This program has the option to set false to create geometric constraints. I set it to false, it still created the constraints. This is causing my dimensions to come out in error because of the additional constriants. I can and will right code to delete the constraints right after they are created, but this routine should not be creating them if set to false:
Function OffsetSketchEntitiesUsingDistance(SketchEntities As ObjectCollection, OffsetDistance As Double, NaturalOffsetDirection As Boolean, Optional IncludeConnectedEntities As Boolean = False, Optional CreateOffsetConstraints As Boolean = True) As SketchEntitiesEnumerator
slocProfile is an object collection of sketch lines only. The end result each time if set to true or false, is creation of the "Equal" offset constraint.
Dim seeOffsetProfile As SketchEntitiesEnumerator = skProfile.OffsetSketchEntitiesUsingDistance(slocProfile, -0.5 * 2.54, False, False)
Please fix, or show me what I am doing wrong.
Thank you,
jvj