Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
I made a toolbar with my popular wiretypes.
If some layer not exists it will be created (it must be defined in the create/edit wire type).
All works fine. Only for 1 layer i also want to change the linetype. So i tried adding this extra bit of code, but.....
Yes, i know, but this was for the moment the quickest and easiest part, until i hit 283 characters.
Looking in the API i also found what i need and i can reduce the characters.
But yeah, i will make a lisp for it when i have some more time.
I use a script to add all my wire layers to a drawing. If a new wire type is used, I update my script file and run it. Therefore this new wire type will be available on this and all future drawings and projects.
I know this adds adds many wire types that are not used on the drawing but you can purge these later if you want (I don't bother).
Thanks to Doug in an earlier post for describing how to do this! Once you have created your script and saved it somewhere, just type SCRIPT in the command line, navigate to it and Bingo! all your layers are there.
I have attached my file - metric stuff though. Pay very careful attention to the spaces in each line.
It won't allow me to attach a .scr so rename .txt to .scr.
"Thanks to Doug in an earlier post for describing how to do this! Once you have created your script and saved it somewhere, just type SCRIPT in the command line, navigate to it and Bingo! all your layers are there."