Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
pball
499 Views, 3 Replies

iLogic Sheet metal properties

I just made some iLogic to setup a formatted description of the material and thickness. Most of it works great but one thickness is not being detected. Attached is a test part that is having an issue with the 12ga thickness.

 

I am using a select statement to set a gauage thickness in a description but 12ga (0.1046) does not work. If I change it to 0.1045 in the script and then set the thickness to that it works, but not at the correct value. When the part thickness is 0.1046 the select statement goes to the select else which formats the thickness as a decimal number.

 

EX:

 

Select Case Parameter("Thickness")
    Case 0.1046
        ShtThk = "12GA"

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style