m4rc
Mechanical
- Jan 25, 2005
- 112
I guess if you understand the title then you might be able to help me...
My aim is to produce the following:
'8 - Ø10 EQUI-SPACED ON 135.0 P.C.D.'
From the following:
%{NUMBER|GP} - %DI%HS EQUI-SPACED ON %{PCD|GP} P.C.D.
Where, 'NUMBER' and 'PCD' are values that are exposed in the part file. These relate to number of holes in the array and the PCD(!)
Currently I get:
8.000 - Ø10 EQUI-SPACED ON 135.00mm P.C.D.
So comparing that with what I want, I need to remove the three decimal places after the 8, and the two decimal place + mm after the 135.
I've tried this:
%{NUMBER/@0|GP} - %DI%HS EQUI-SPACED ON %{PCD/@1/NU|GP} P.C.D.
But I've read somewhere on here that these variables cannot be controlled via /NU and /@n... is there a work around? I don't mind creating a new exposed value that references the two values, or even some other method, I've just run out of ideas myself.
Cheers,
M
My aim is to produce the following:
'8 - Ø10 EQUI-SPACED ON 135.0 P.C.D.'
From the following:
%{NUMBER|GP} - %DI%HS EQUI-SPACED ON %{PCD|GP} P.C.D.
Where, 'NUMBER' and 'PCD' are values that are exposed in the part file. These relate to number of holes in the array and the PCD(!)
Currently I get:
8.000 - Ø10 EQUI-SPACED ON 135.00mm P.C.D.
So comparing that with what I want, I need to remove the three decimal places after the 8, and the two decimal place + mm after the 135.
I've tried this:
%{NUMBER/@0|GP} - %DI%HS EQUI-SPACED ON %{PCD/@1/NU|GP} P.C.D.
But I've read somewhere on here that these variables cannot be controlled via /NU and /@n... is there a work around? I don't mind creating a new exposed value that references the two values, or even some other method, I've just run out of ideas myself.
Cheers,
M