Decimal precision for custom properties in SolidWorks
Controlling the decimal precision for a custom property can be done independantly of document properties. To do this we need to create an equation. Take this example of mass. The first step is to create a custom property for mass.
The document units have been set to 8 decimal places so the custom property also has 8. I then have to create an equation that will round my custom property.
I have created a global variable to show I want the mass with 2 decimal places. The equation uses the existing custom property weight and with the round function rounds to 2 decimal places. ROUND("weight",2)
Finally I have created a second custom property that uses the global variable to display the rounded number.
Jordan Nardick, CSWE
Computer Aided Technology, Inc.