Tolerance Input variable

Tolerance Input variable

zohaib4948
Contributor Contributor
302 Views
3 Replies
Message 1 of 4

Tolerance Input variable

zohaib4948
Contributor
Contributor

Respected Seniors

I have a question. I am creating a macro for model area clearance toolpath and i want that every time i run this  macro it ask me to input Tolerance for tool path.  Is it possible and if it possible then how???

   Thanks

 

 

 

 

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

psx2
Collaborator
Collaborator
Accepted solution

try:

REAL Number = "Enter a number"

and then use $Number in macro

Es.

edit par 'Tolerance' $Number

Message 3 of 4

old_snickers
Advocate
Advocate

Try this:

 

REAL mywantedtolerance = 0.01
$mywantedtolerance = INPUT "What tolerance is to be set?"
EDIT PAR 'Tolerance' $mywantedtolerance

 

... ok, I was too slow 😄

Message 4 of 4

zohaib4948
Contributor
Contributor
Thanks a lot sir
0 Likes