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

Drawing notes and parameters

SOLVED
Highlighted
Level 8

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

Re: Drawing notes and parameters

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)

6 REPLIES 6

Re: Drawing notes and parameters

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

Re: Drawing notes and parameters

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)

Re: Drawing notes and parameters

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.

Re: Drawing notes and parameters

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)

Re: Drawing notes and parameters

IT WORKS

thanks a lot to both of you.

Re: Drawing notes and parameters

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.