multicaduser
Industrial
- Jan 29, 2013
- 261
In using the following code the the results on some of the axis are inaccurate, as much as .024". Is there any way to control the accuracy and/or format (number of decimal places)?
NX 12.0.1.7 Windows 10
Code:
ufs.Modl.AskBoundingBox(solid1.Tag,bbox)
msgbox ("min X: " & bbox(0) & " max X: " & bbox(3) & vbcrlf _
& "min Y: " & bbox(1) & " max Y: " & bbox(4) & vbcrlf _
& "min Z: " & bbox(2) & " max Z: " & bbox(5) & vbcrlf & vbcrlf & _
"X dim: " & bbox(3) - bbox(0) & vbcrlf & _
"Y dim: " & bbox(4) - bbox(1) & vbcrlf & _
"Z dim: " & bbox(5) - bbox(2), vbokonly)
NX 12.0.1.7 Windows 10