cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Drawing notes and parameters

rmcboaty
7-Bedrock

Drawing notes and parameters

i have a parameter, NB, integer for the number of clamping bolts.

in the drawing i have a callout note on the top view that i want it to say 4x M16x30.

the problem is that i cannot make it without a space between x and the param: &NB:9 x M16x30.

if the param is a real number, i can do it like this and it works: &NB:9[.0]x M16x30 without the space.

Is there any way of doing that for an int?

i've tried the upper approach and it of course doesn't work. I've also tried to enclose it in curly brackets {&NB:9}x and it also doesn't work (it shows the brackets in the notes).

1 ACCEPTED SOLUTION

Accepted Solutions
psobejko
12-Amethyst
(To:rmcboaty)

It should work as Kevin suggests,

try this "code":

&NB:9{0:x} M16x30

(if you edit the note again, you'll see it turned it into: {0:&NB:9}x M16x30)

View solution in original post

6 REPLIES 6
Kevin
10-Marble
(To:rmcboaty)

Try placing the parameter in braces, {0:&NB:9}x M16x30.

rmcboaty
7-Bedrock
(To:Kevin)

hmm, i've seen that 0 around sometimes.

but sometimes it's a 3, 7... any idea what sets the initial number?

EDIT: it doesn't work, it just deletes the parentheses and 0:, 3: or whatever number i put there)

Kevin
10-Marble
(To:rmcboaty)

The best I could tell based on what I've seen is if the first grouping includes the first character of a note the grouping numbers start with 0 and continue with even numbers otherwise the grouping numbers start with 1 and continue with odd numbers.

psobejko
12-Amethyst
(To:rmcboaty)

It should work as Kevin suggests,

try this "code":

&NB:9{0:x} M16x30

(if you edit the note again, you'll see it turned it into: {0:&NB:9}x M16x30)

IT WORKS

thanks a lot to both of you.

BenLoosli
23-Emerald II
(To:rmcboaty)

As a comment, when specifying X for times, 4X M16x30, the X for times is to be a capital X, not lower case x.

At least if you are using ASME Y14.5 as your dimensioning standard.

Top Tags