Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
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).
Solved! Go to Solution.
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)
Try placing the parameter in braces, {0:&NB:9}x M16x30.
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)
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.
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.
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.