Re: Sheet Metal Tool Replacement macro?
Thanks Tom. I was able to create the replacement macro using good ol' trial and error using TRACE. Do you have any advice on my code?
DEFINE Sha_replace_my_stamp
LET circle_center (INQ 101)
LET tol 0.1
LET del_size (INQ 3)
INQ_SELECTED_ELEM SELECT CIRCLES ALL CONFIRM
LOOP
EXIT_IF (INQ 14=0)
LET Up_limit ((INQ 3) + tol)
LET Lw_limit ((INQ 3) - tol)
IF ((del_size<=Up_limit) AND (del_size>=Lw_limit))
DELETE POINTER (INQ 2)
END
END_IF
INQ_NEXT_ELEM
END_LOOP
LET del_size 0
CIRCLE (circle_center)
END_DEFINE
|