Angelo2449
Guest
Hello everyone,
I wrote a little program to treat an area defined by a figure.
I would like the restraint to be tilted by 50g and spaced by 0.1 mt., my command doesn't work like that!
Help!
Thank you.
I wrote a little program to treat an area defined by a figure.
I would like the restraint to be tilted by 50g and spaced by 0.1 mt., my command doesn't work like that!
Help!
Thank you.
Code:
(defun c:rossotratt (/ puntoins ctrllayer)
(setq puntoins (getpoint "\nclicca il punto interno"))
(if puntoins
(progn
(setq ctrllayer (tblsearch "layer" "rosso"))
(if (= ctrllayer nil)
(command "_layer" "_new" "rosso" "_color" "_red" "rosso" "")
);;if
(command "_bhatch" "_pr" "ansi31" 0.1 100 puntoins "") ;;<<<<<<<<!!!!!!!!!!
(command "_change" "_last" "" "_p" "_layer" "rosso" "")
);;progn
);;if
);;defun fine rossotratt


