Message 1 of 2
Drawingsketch projected geometry get reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey,
i have a sketch where i project centerlines from the sheet
oSketchEntity = oSketch.AddByProjectingEntity(ocl)
now when i run this rule a second time and it shouldn't add the line but get the correct sketchentity object
For Each oLine As SketchLine In oSketch.SketchLines If oLine.ReferenceComponent.Name = ocl.Name Then oSketchEntity = oLine End If Next
this won't work because there is no reference component to that line.
Although i'm sure every line in that sketch is added by the projectingentity method.
So how can i go from a sketchline object back to the centerline object.