Inherit hatch lisp don't get the patternscale

aridzv
edited July 2023 in LISP
Hi.
I have a lisp that copy hatch properties and assign it to other closed bounderies (see this topic).
the problem is that it dosen't copy the hatch pattern scale and set it to -0.01.
I've tried to use HPSCALE in the lisp instand of patternscale but it is not working...
the lisp I'm using is also attached here.
any idea on how to get the pattern scale?

thanks,
aridzv.

Comments

  • Hi Aridv,
    I don't see immediately what goes wrong, but a simple workaround could be to use the (command "_matchprop" e)
  • @Piet
    thanks for the answer.
    I eventually solved this by changing the way the variables were written to the list (see Capture.PNG) to just put all of them in one long code line (see Capture1.PNG)
    I don't realy know what was the problem with the original way...
  • Great you found a solution!