The density in Customer Defaults can be set to 0.00001, but the density cannot
be set to .0000000001.
Solution
The default density resides in the %UGII_BASE_DIR%\UGII\ug_modeling.dpx file.
This is the dpx file for the Modeling application.
In the dpx file, the validation criteria can be provided for the defaults. For
this density default, the validation criteria is that it should be greater than
zero.
To compare two real numbers, NX uses a tolerance value such that if the
difference between the two values to be compared is less than or equal to the
tolerance value, the two values are considered equal.
For this example the tolerance value is the same value that's trying to be
entered i.e. 0.0000000001 (1 e-10). The difference between this value and zero
is equal to 0.0000000001. Therefore, according to the above criteria, this
value is equal to zero. But, this violates the validation criteria and an error
message is displayed by the framework.
The density has to be entered in the customer defaults as scientific
notation. If this value is incremented such that it is made (1.1 e-10), the
value for density can be set successfully.
To set the Customer Default for density:
1. Select 'File-->Utilities-->Customer Defaults'.
2. Expand 'Modeling' and highlight 'Solid Modeling'.
3. On the 'Mass and Density' tab, enter the density as shown above:
1.1 e-10
4. OK the Customer Defaults dialog.
5. Exit and re-start NX.
Notes and References
Hardware/Software Configuration
Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: GATEWAY
Version: V10.0
Function: CUSTOMER_DEFS
Ref: 001-2116316