BOM - Custom property showing expression instead of value for part having several model states

BOM - Custom property showing expression instead of value for part having several model states

l.vandemoortele
Participant Participant
1,116 Views
8 Replies
Message 1 of 9

BOM - Custom property showing expression instead of value for part having several model states

l.vandemoortele
Participant
Participant

Hello,

 

I have a part that exposes a custom property through an exported parameter ("Epaisseur").

The expression of this parameter is not a direct value but calling another parameter (Epaisseur = Ep).

 

This part has 3 model states, for these 3 states the definition of the parameter is always the same: Epaisseur = Ep

 

In the BOM of the main assembly including this part, when adding a column for this custom property, the line for this part is not showing the value of the custom property but the expression of the corresponding parameter...

This behavior happend only for parts having several model states.

 

Is there a way to force the BOM to show the value instead of the expression of the custom property parameter ?

 

lvandemoortele_1-1626841379210.png

 

lvandemoortele_0-1626841327741.png

 

 

Thanks for your help

Luc

 
0 Likes
Accepted solutions (1)
1,117 Views
8 Replies
Replies (8)
Message 2 of 9

SharkDesign
Mentor
Mentor

How did you enter the value?

Ep won't work, it needs to be =<Ep>

  Inventor Certified Professional
0 Likes
Message 3 of 9

l.vandemoortele
Participant
Participant

Hi James, Thank you for your answer.

 

Its not me putting Ep in the BOM, its Inventor itself.

Ep is only in the equation of the parameter Epaisseur, which is exported as a custom property

 

 

0 Likes
Message 4 of 9

SharkDesign
Mentor
Mentor

Oh right, I've seen this issue before. 

 

Is it related to this?

https://forums.autodesk.com/t5/inventor-forum/iproperties-formulas/m-p/10322575

 

Also, try putting the parameter directly in through the BOM. So in that BOM window type =<Ep> and see if that populates correctly. 

  Inventor Certified Professional
0 Likes
Message 5 of 9

l.vandemoortele
Participant
Participant

Hi,

I am not trying to put a formula in my Custom iProperties, I don't think its related to that.

I just ticked in the parameters list, for the parameter Epaisseur to be exported as a custom property.

Also I insist that for me what's happening is a new behavior, coming with the new model states functionality.

To answer your last question, Inventor doesn't let me change the value in the BOM, it's read only.

Thanks James

 

 

 

0 Likes
Message 6 of 9

SharkDesign
Mentor
Mentor
Yes, but that formula will take the value from ep and put it in the box.
It's essentially the same as what happens when you create a custom iproperty
  Inventor Certified Professional
0 Likes
Message 7 of 9

l.vandemoortele
Participant
Participant

And for example with another part with the same parameter "Epaisseur" being exported, this problem doesn't appear:

lvandemoortele_0-1626851891973.png

 

And in the BOM for this part with no additional model state, all is good:

lvandemoortele_1-1626851965950.png

 

0 Likes
Message 8 of 9

johnsonshiue
Community Manager
Community Manager
Accepted solution

Hi! This could be a Model States behavior. Try this. Edit the Model States table (right-click on the Model State node at the top). Is it expression or value?

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 9 of 9

l.vandemoortele
Participant
Participant

Hi Johnson,

Thanks for helping

By editing the states trough the Excel table I get this:

lvandemoortele_1-1626902751294.png

 

Edit:

In this table I simply deleted all the parameters columns (anyway they should be the same whatever the state).

By doing so the BOM is now showing the value and not the expression.

Thank you very much for pointing me to the solution.

 

Best Regards

Luc