Guest Posted November 17, 2015 Share Posted November 17, 2015 Hi. I am using in a lisp code a layer with the name "test" .I wan't in the same layer to add splines but i want this created splines to have different colors in the same layer. I use this command to create layers (COMMAND "_layer" "_m" "Test" "_c" "150" "" "") Some splines will be yellow or red. Any idea? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted November 17, 2015 Share Posted November 17, 2015 I fix it . i use this Code: (defun Layer (Nme Col Ltyp LWgt Plt) (entmake (list (cons 0 "LAYER") (cons 100 "AcDbSymbolTableRecord") (cons 100 "AcDbLayerTableRecord") (cons 2 Nme) (cons 70 0) (cons 62 Col) (cons 6 Ltyp) (cons 290 Plt) (cons 370 LWgt)))) Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.