Parametric model + Level of Details + associated BOM

Parametric model + Level of Details + associated BOM

ali.jahed
Enthusiast Enthusiast
416 Views
4 Replies
Message 1 of 5

Parametric model + Level of Details + associated BOM

ali.jahed
Enthusiast
Enthusiast

Hi All,

 

Let me put it in a very simple example.

I have an assembly contains:

  1. Pan screw
  2. CSK Screw

 

Then I have Level of details (LOD) as:

  1. Master - contains both
  2. Pan - the CSK screw suppressed
  3. CSK - the Pan screw suppressed

 

Now: 

I double click on LOD  "Pan" to make it active and what I see on the screen will be my Pan head screw; however, when I go to BOM I see both of them listed!

 

Is there any way to have the associated BOM to LOD?

 

Next level question:

in my ilogic rule when I am in "Master" LOD the following code:

ThisBOM.Export("Parts Only", "Test.xls", kMicrosoftExcelFormat)

generate the BOM having both screws listed in excel file; however, by changing the LOD to Pan (or CSK) it comes back with the following error:

 

Error in rule: Rule0, in document: Test.iam

ThisBOM: Could not find a BOM view named "Parts Only".
If the name is correct, then please enable this BOM view, and save the assembly.
 
(my comment: The name is correct and it is enable)

 

Please advise...

 

Cheers

Ali

0 Likes
417 Views
4 Replies
Replies (4)
Message 2 of 5

ali.jahed
Enthusiast
Enthusiast

p.s. the more I investigate the more I think iAssembly is the correct choice for creating configurations. Through this way I could manage the asembly BOM right but I still cannot create the correct BOM out of iLogic rule.

0 Likes
Message 3 of 5

marcin_otręba
Advisor
Advisor

Hi you can associate LOD in drawing part list.

 

ThisBOM.Export("Parts Only", "Test.xls", kMicrosoftExcelFormat)

I think you got error because Parts Only view is not enabled in BOM editor.

 

Hi, maybe you want to check my apps:


DrawingTools   View&ColoringTools   MRUFolders

0 Likes
Message 4 of 5

ali.jahed
Enthusiast
Enthusiast

Thanks for your reply,

As I mentioned previously it's enable.

0 Likes
Message 5 of 5

voliahim_ma
Observer
Observer

Hello
Have you solved this problem?

0 Likes