No Units / Precision / Dual Units

Phenom
Phenom

Hi,

 

I was looking for how to remove the precision of Sheet Metal Thickness!

 

Here is how to control the following:

 

1- Units (Disabled by Material Thickness)
2- Precision of Integers (/@0 for 0 Precision)
3- Dual Units

 

Yasser

 

NoUnits_Precision_DualUnits.JPG

4 REPLIES

Betreff: No Units / Precision / Dual Units

Honored Contributor
Honored Contributor

Hi @YD

 

 

can You explain what exactly are Your intends?

 

 



regards
Wolfgang

Betreff: No Units / Precision / Dual Units

Phenom
Phenom

Hi @hawcad,

 

I was facing the following problems:

 

1-In Sheet Metal Drawing, the Thickness could be shown like this: t = n
And I wouldn't just write the Thickness n but I wanted to get the exposed Variable of the Thickness, so that if the Thickness is changed, it would be changed too in the Drawing, like any other Dimensions.

 

2-With the following Format for Sheet Metal Thickness:

t = %{Materialthickness/@0/CP|X.asm:Y.psm}

/@0
This will change the Thickness t=5,00 to t=5

 

3-/du
You could be able to show the Dimensions value in mm & Inch too.

 

Yasser

Betreff: No Units / Precision / Dual Units

Phenom
Phenom

/@n is for setting the precision (ie. number of decimal places and round up/down) for the value - it is not for removing trailing zeros.

In your example /@0 would show 5.4 as 5, or 5.6 as 6.

HP Z420 16GB RAM
Quadro K4000
ST7 MP10 on Windows 7 Pro 64.

Betreff: No Units / Precision / Dual Units

Phenom
Phenom

@beachcomber

 

Yes, I'm using this format to avoid t=5,00 for Material Thickness.

 

Yasser