By Adam Nagy
When you create new constraints in a Sketch then the constraints' symbol will show in the UI. In previous releases it did not do that.
Also, it only seems to happen if nothing depends on the Sketch geometry (e.g. no Extrude) so that the document does not get updated automatically.
In Inventor 2015 a new application setting was introduced that could be responsible for this:
Application Options >> Sketch >> 2D Sketch >> Constraint Settings >>
Settings... >> General >> Display constraints on creation
The constraint icons only show until you update the document. So once you call Document.Update they will disappear.
Sub AddConstraint()
Dim doc As PartDocument
Set doc = ThisApplication.ActiveDocument' The Skecth needs to be selected in the UI
Dim sk As PlanarSketch
Set sk = doc.SelectSet(1)
sk.Edit
Dim pc As ParallelConstraint
Set pc = sk.GeometricConstraints.AddParallel( _
sk.SketchLines(1), _
sk.SketchLines(3))
sk.ExitEdit' This makes the constraint icons disappear
doc.Update
End Sub