Adding diameter symbol before tool name

Adding diameter symbol before tool name

karan30782
Advocate Advocate
1,560 Views
6 Replies
Message 1 of 7

Adding diameter symbol before tool name

karan30782
Advocate
Advocate

Hi ! Everyone....

 

Could anyone help me to put  "diameter" symbol before tool name.

like below ...

31.JPG

 

I was using the following code ....

 

 

 

STRING new_name = ""


FOREACH $tl IN FOLDER ('Tool') {

ACTIVATE TOOL $tl.name

$new_name = "Ø" + $tool.name
RENAME TOOL $tl.name $new_name

}

MESSAGE INFO "Tool renaming done"

 

 

 

Thanks in advance !!!

0 Likes
Accepted solutions (1)
1,561 Views
6 Replies
Replies (6)
Message 2 of 7

kevin.hammond3WX4X
Advocate
Advocate

Found this in the forum

 

https://forums.autodesk.com/t5/powermill-forum/special-characters/m-p/8091476

 

Also did the work and attached file for you, just change .txt to .mac

0 Likes
Message 3 of 7

karan30782
Advocate
Advocate

Sorry !

 

It's not working, it provide the same result as mine.

 

32.JPG

Thanks for reply !

0 Likes
Message 4 of 7

kevin.hammond3WX4X
Advocate
Advocate
Accepted solution

I have zipped the actual macro this time, in case changing from mac to txt causes issues.

Works here?

kevinhammond3WX4X_0-1647860983020.png

 

0 Likes
Message 5 of 7

karan30782
Advocate
Advocate

Wow ! 

That worked ..

 

 

Thanks !

0 Likes
Message 6 of 7

Pedro_Valente
Contributor
Contributor

You can also user manual input : Press ALT key and click numpad 0216 then free ALT key 

This is code ASCII for many usefull symbols

 

 

Message 7 of 7

tiago.sousaFRFK6
Explorer
Explorer

I usually type Alt + 157 and it works for me.

0 Likes