Attribute Text Link Properties...
Attribute Text Link Properties...
(OP)
When I add an Attribute link to a leader text note on a drawing, the values from the model are showing with 5 deciaml places. How can I change the number of decimal places that are shown? Also, if two attributes are used in the same text note, can I apply different decimal places to each?
I have a chamfer that needs to have a tolerance on the length and the angle, but Catia does not do this. So I am applying attribute links to from the chamfer feature of the model to a leader text note on the drawing. I know I could use a simple text note, but it isn't parametric.
I want my note to read:
.050±.005 x 45°±5° (Not 0.05000 x 45.00000)
Thanks,
I have a chamfer that needs to have a tolerance on the length and the angle, but Catia does not do this. So I am applying attribute links to from the chamfer feature of the model to a leader text note on the drawing. I know I could use a simple text note, but it isn't parametric.
I want my note to read:
.050±.005 x 45°±5° (Not 0.05000 x 45.00000)
Thanks,





RE: Attribute Text Link Properties...
Not sure if this can be done?
RE: Attribute Text Link Properties...
Regards,
Derek
RE: Attribute Text Link Properties...
Using the following
round(Real, String, Integer):Real
ToString(Real) : String
string.Extract(StartIndex: Integer, Length: Integer) : String
Proberbly the best
ToString(round(MODEL_PARAMETER,"in",3)
or much cruder
ToString(MODEL_PARAMETER).Extract(0,4)