Issue

In 2D drawing, most of the default display of variables is 2 decimal places, such as the mass, length, width, and height. How can the number of decimal places for the display be changed?

Solution:

Take the mass variable as an example: Change the variable from [$Part_Mass] to [$Part_Mass%0.1u], it will display the mass of the part in the form of retaining 1 decimal place.


Parameter Explanation:

  1. %: A format tag.
  2. 0.1: 0 indicates whether to suppress the zeros before the decimal point. 1 indicates a setting to display 1 decimal place.
  3. u: Indicates whether the unit is displayed or not.


CN Solution
JP Solution


★How to set the decimal place of the variable in the 2D drawinghttps://confluence.zwcad.com/pages/viewpage.action?pageId=335577524

  • No labels