Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JelteDeJong
in reply to: cparnellCDZ7D

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.

JelteDeJong_0-1645216238491.png

 

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.

EESignature


Blog: hjalte.nl - github.com