Get Sketch Line From Geometric Constraint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to delete all the geometric constraints from a sketchline. I can check the EntityOne and I can see it's the curve I want but the 'Is' statement in the 'If' statement returns false ![]()
What am i doing wrong?
For Each oConstraint As GeometricConstraint In oSketch.GeometricConstraints If oConstraint.EntityOne is oL Then oConstraint.Delete End If
Next