Add space character using the value command

Add space character using the value command

Anonymous
Not applicable
834 Views
2 Replies
Message 1 of 3

Add space character using the value command

Anonymous
Not applicable

Hello,

 

I'm trying to make an easy script to change the values of multiple parts. But I can't add space in my values when I use the VALUE command.

For example, when I set the value of R1 using the VALUE button(or right click and Value) from the tool bar, I can write "10k 5%". However, when I use the type "Value R1 10k 5%" in the command line, the part value only shows up as "10k". All the words after the space is deleted.

Is there a special character that I have to write instead of just adding space? I searched everywhere, but I couldn't find anything.

I don't want to click every single parts and change the values.😫

If the command doesn't work, is there a script or ULP that I can use?

 

Thank you

0 Likes
Accepted solutions (1)
835 Views
2 Replies
Replies (2)
Message 2 of 3

one-of-the-robs
Advisor
Advisor
Accepted solution

Have you tried quoting it?

value R1 '10k 5%'
Message 3 of 3

Anonymous
Not applicable

It works!

never thought of quoting the whole thing.

 

Thank you so much!!!!

0 Likes