Centermarks.AddByWorkFeature on drawing view with view break.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am adding some dimensions to a drawing view using some projected centremarks from workpoints, as my geometry intent, however the issue I am running in to is that the drawing view contains a view break, and seemingly when I attempt to add a dimension using this method, after the view break operation, the dimension becomes sick because the centremarks loose their reference as if they are being projected to the sheet without taking in to account the view break. Logically I can see why this happens, I just can't see how to fix it so that it accounts for the view break spacing. I suppose I could translate the centremarks by the view break distance, however I wonder if there is an out of the box solution?
The view object in this case is an assembly, and the dimension applied is a conditional overall length dimension. I am doing the following:
- Creategeomentryproxys using a workpointproxys from the occurrences in question.
- Centermarks.AddByWorkFeature on the workpoint proxys.
- CreateGeometryIntent on the centremarks.
- Add linear dimension to the GeometryIntents
Appreciate any insights you may have.
Thanks