Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
As the title says, views lose their connection to the BOM when I create views with the API.
DrawingView iso1View = sheet.DrawingViews.AddBaseView(modelDoc as _Document,
centerIso1, scale,
ViewOrientationTypeEnum.kIsoTopRightViewOrientation,
DrawingViewStyleEnum.kHiddenLineRemovedDrawingViewStyle,
"", null, options);
As a result, I cannot place a BOM. The line
PartsList partsList = sheet.PartsLists.Add(iso1View, tg.CreatePoint2d(0, 0));
throws an exception.
Very strange: When I try to manually place a balloon after creating the views, Inventor asks me for the BOM. See video. I have never seen this dialog before.
This only happens with a specific customer data set. It works with other example assemblies. This does not occur when I create the views manually. This is independent of the drawing template.
Inventor 2024.3.3
Regards
Christoph
Solved! Go to Solution.