Skip to main content
Dale_Rosema
23-Emerald IV
Feb 22, 2013 8:50 PM UTC
Solved

Math expression in a note (annotation)

I have a note that calls for ## holes in the part.

The print dimensions the spacing between the first two holes and says (## - 1) spaces.

I looked through the tips for text thread ( http://communities.ptc.com/message/185313#185313 ) but couldn't find anything.

Is there a way to perform this math within the note?

i.e. 14 holes there for 13 spaces (where the 13 is the pattern p## less one).

Thanks, Dale

Dale_Rosema
23-Emerald IV
Feb 22, 2013 9:26 PM UTC

"Spacenumber=p117-1" then use "&spacenumber.[0]" - Don't forget to trucate it since it is an integer. Thanks,

5 replies

17-Peridot
Feb 22, 2013 8:59 PM UTC

Yes, you do the math in relations and then use that new relation variable in the note.

Something like "spacenumber=pattern_qty-1" then "&spacenumber" can be used in the note

Translate
Dale_Rosema
23-Emerald IV
Feb 22, 2013 9:03 PM UTC

What if the first item (pattern_qty) is not a parameter in the part, but just the dimension from the pattern feature? Is it then, "spaenumber=p117-1" then use "&spacenumver"? (Where p117 if the dimension for the quantity in the pattern).

Thanks,

Translate
17-Peridot
Feb 22, 2013 9:07 PM UTC

In relations, yes.

Translate