Ballooning in drawings and the setup of the BOM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
i would like to ask 2 questions about ballooning in drawings and the setup of the BOM.
For info: I'm working with Inventor 2020.
Question 1:
Every time when i start creating balloons in a drawing i get the naging dialog "BOM properties" to set the BOM view (image attached).
Because i regularly need the PartsOnly-view i would like to have it as a preset, while at the start of the dialog always the structured view is the dafault.
Is there a way to make the Partsonly-view the default and make it active?
I have tried to use put_PartsOnlyViewEnabled with argument VARIANT_TRUE on the AssemblyBOM object of the assembly the drawing is created from prior to create the first View.
But this does not change anything, the naging dialog appears again when i start ballooning.
Even whe I set the structured view to deactivated by calling put_StructuredViewEnabled(VARIANT_FALSE) it is still the default value when the dialog opens.
Is there another place where this setting is stored?
Probably on Sheet-level or at View-level in the .idw.
Question 2:
Another point I have noticed is about the pDrawingBOMs->IsDrawingBOMDefined() query in the drawing sheet.
Even if there are views as well as balloons and parts lists on the sheet, the return value of this query is always VARIANT_FALSE.
Is this a bug in the Inventor-API or do i misunderstand something?
Thanks is advance for any information on these questions.
Kind regards,
Richard Ernstberger