02-18-2022
12:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-18-2022
12:31 PM
According to Wikipedia 1 BrdFt = 144 in3 Calculating volume in Inches can be done. From there it's easy to BrdFt. That can all be done in an iLogic rule. It will also put the value in a custom iProperty "VolumeBrdFt". You can set this on the event trigger "Any model parameter change". Then it will be updated all the time.
Dim volume = iProperties.Volume Dim side1 = volume ^ (1/3) Dim uom = ThisDoc.Document.UnitsOfMeasure Dim sideConverted = uom.ConvertUnits(side1, UnitsTypeEnum.kDefaultDisplayLengthUnits, UnitsTypeEnum.kInchLengthUnits) Dim volumeConverted = (sideConverted ^ 3) / 144 iProperties.Value("Custom", "VolumeBrdFt") = volumeConverted
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com