Hello all,
For AutoCAD 2012, I've attempted to use the following expression in a Lisp program:
(setvar "CETRANSPARENCY" "BYLAYER")
It returned the message: ; error: AutoCAD variable setting rejected: "CETRANSPARENCY" "BYLAYER"
This feels kind of strange, because I can set CETRANSPARENCY to BYLAYER by entering both words at the command line prompt. Is CETRANSPARENCY only valid as a command, perhaps?
With friendly greetings, M. Moolhuysen.
Solved! Go to Solution.
Solved by Alfred.NESWADBA. Go to Solution.
Hi,
Autodesk did a little bit mix and so setting the variable CETRANSPARENCY by a string-value ("BYLAYER") is not allowed in this case.
Instead you can do:
(setvar "CETRANSPARENCY" -1)
...and -2 stands for "BYBLOCK" 😉
HTH, - alfred -
Ah, I did try to set it to 256, as I remember that could mean "BYLAYER" in the old days....
256 doesn't work here, but -1 does. Much better, thank you. Unfortunately this bit of information is missing in the Help.