![]() The good thing about it is, if there is existing layer with that name, it will accept it and set make it current. ![]() This will create new layer named NEWLAYER (if there is no newlayer in the list) and make it current. So we can write it as a LISP program below: This command will keep asking you to enter an option.M will create new one, it will ask you for it’s name and then make it current.The bold text with red color is what we’re going to use in AutoLISP. : mĮnter name for new layer (becomes the current layer) : newlayerĮze/Thaw/LOck/Unlock/stAte/Description/rEconcile]: Use – (dash) to load the command without dialog box. Remember, you can check the command we can use at command line first. You will see the list of available options. The more logical thing to do is, when it doesn’t find it, it creates a new one.Ĭreating new one is easy. If it doesn’t find it in name list, it simply gives a warning. This is a good way to be implemented with your company standard.īut what we did before is simply change it. For example, we want when we place the grid label, we place it on annotation layer. By changing current layer or style in the program, it will make sure our objects to use specific properties. ![]() We learned how we can work with layers when we create objects in our AutoLISP program.
0 Comments
Leave a Reply. |