02-16-2018 10:00 AM
Hi all,
I have an assembly with a bunch of xpress route generated wires.
I use the property text " %{Tube Flat Length|G}" to have a parts list automatically list the length for me. (attached image shows my property text)
Unfortuntaly it shows the length to unnecessary precision, to 0.01mm. (attached image shows various lengths 148.66mm, 201.73mm, 104.42mm)
Realistically the lengths only have to be within a couple mm of that value. (to nearest 1mm:149, 202, 104, or even nearest 5mm:150, 200, 105 )
Does anyone know if there anything I can do to round off these automatically generated lengths?
Thanks,
-Greg
02-16-2018 11:41 AM
There are options.
The FIX(X) formula will round things to whole number. You could also display less digits with /NU switch.
02-16-2018 12:04 PM
12GAGE,
This looks promising. But I don't understand the syntax.
Where am I putting FIX(X), or /NU into : "%{Comments|G} %{Tube Flat Length|G}" ??
Is there some resource that can show me all the possible forumlas I can use with property texts?
And how to write them out properly?
Thanks,
-Greg
02-19-2018 10:37 AM - edited 02-19-2018 10:40 AM
"%{Comments|G} %{Tube Flat Length/NU|G}" will remove the unit display (has to be upper case)
"%{Comments|G} %{Tube Flat Length/@0|G}" will remove all decimal places
"%{Comments|G} %{Tube Flat Length/NU/@0|G}" will do both.
Don't know about the use of FIX.
Look for Property Text Format Codes in Help -
We really need a round up or round down qualifier for tube and frame.
Edit: Don't know why there's a smiley in there - must be something in the path for the help file.
02-19-2018 10:51 AM
Thanks guys. This was a big help and is good enough for my purposes.
I realized later that 'format' in the parts list properties menu under the columns becomes available when you click inside one of the callouts in the property text dialog box and this gives you a user interface for some of these options.