parameters into Iproperties drawing BOM

parameters into Iproperties drawing BOM

timorobinson
Observer Observer
273 Views
7 Replies
Message 1 of 8

parameters into Iproperties drawing BOM

timorobinson
Observer
Observer

I'm trying to create my parameters ( length, height and length) in the part file and have the Iproperties update in my drawing.

I can get the Iproperies to show in my BOM but if i change the dim's to fractions and they don't update in my BOM?

 

0 Likes
274 Views
7 Replies
Replies (7)
Message 2 of 8

bob_holland
Autodesk Support
Autodesk Support

@timorobinson Would it be possible for you to provide our teams with a sample assembly with your code?

 

Thank you.


Bob Holland
Autodesk Product Support
0 Likes
Message 3 of 8

timorobinson
Observer
Observer

part file 

timorobinson_0-1745861647211.png

 

iproperies is part

timorobinson_1-1745861712380.png

 

drawing bom showing decimals?

timorobinson_2-1745861761981.png

 

 

0 Likes
Message 4 of 8

MjDeck
Autodesk
Autodesk

@timorobinson - can you post the part and drawing?


Mike Deck
Software Developer
Autodesk, Inc.

0 Likes
Message 5 of 8

timorobinson
Observer
Observer
Will do
0 Likes
Message 6 of 8

MjDeck
Autodesk
Autodesk

I think you can do it without iLogic. In the iProperties dialog, you can use an expression for the Description property. To edit an expression, type an equals sign at the start. That will put you in expression-editing mode. Here's a sample expression:
FractionInDescription2 edit.png

 

and the result:
FractionInDescription2 result.png


Mike Deck
Software Developer
Autodesk, Inc.

0 Likes
Message 7 of 8

timorobinson
Observer
Observer

I can get the values to show up in my BOM but they won't switch between decimals and fractions

0 Likes
Message 8 of 8

MjDeck
Autodesk
Autodesk

I'm not sure how you want to switch them between decimals and fractions, but here's a sample part that will do it based on the value of a True/False parameter named FractionalExpressions. Please try it out.
Note: this won't change the expressions in the Parameters dialog. It only changes the iProperty expressions. That's the most important thing for the drawing.
This is set up to format the values down to 1/16 inch. You can change it to 1/32, 1/64, or even 1/128.


Mike Deck
Software Developer
Autodesk, Inc.

0 Likes