change default Bill of Materials editor views

change default Bill of Materials editor views

dsl145
Advocate Advocate
1,242 Views
6 Replies
Message 1 of 7

change default Bill of Materials editor views

dsl145
Advocate
Advocate

Does anyone know how to change the default Bill of Materials Editor views? I don't want to have to import every single time; I just want it to look correct from the beginning.

 

BOM Editor - Default.PNG

 

 

 

0 Likes
Accepted solutions (1)
1,243 Views
6 Replies
Replies (6)
Message 2 of 7

bradeneuropeArthur
Mentor
Mentor
You can export a specific layout as xml file .
Then import this as xml file in other assemblies.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 7

marcin_otręba
Advisor
Advisor

Set it up in template file.

For old ones you must import it every time.

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes
Message 4 of 7

dsl145
Advocate
Advocate
Yes... I'm aware of that, but how about changing it to show up a certain
way for brand new assemblies by default.
0 Likes
Message 5 of 7

philip1009
Advisor
Advisor

You can open the template that Inventor uses as a default and change it there.  It can be achieved automatically by code, but the code used differs on Inventor versions.  Which version are you using, year and service packs?

0 Likes
Message 6 of 7

dsl145
Advocate
Advocate
We're currently using v2016 because of client limitations but will
eventually be moving to newer versions.

I hadn't thought about changing the template files though, that might just
be good enough, but if you can highlight what would be required for the
code change I would also be interested.
0 Likes
Message 7 of 7

philip1009
Advisor
Advisor
Accepted solution

In Inventor 2018.3 or later you have the ability to set an External rule to run every time an Assembly document is open or similar Event Trigger.  The easiest way is to set the settings you want then hit the Export button on the bottom of the Assembly BOM window to export the settings, then save that .xml file in a network location so it can be accessed by others if needed.

 

Here's a sample code:

SyntaxEditor Code Snippet

ThisDoc.Document.ComponentDefinition.BOM.ImportBOMCustomization("C:\temp\BOM Settings.xml")

Have this code saved as an external rule on your network if you need to share it with co-workers, then go into your Event Triggers and set to run on Assembly Document open.  If it's an earlier version of Inventor, you can't set the trigger based on file type and will have to run the rule manually.

 

Let us know if you have anymore questions.