Type “netload” into the AutoCAD Command Line and press enter. However, the location of the map service and/or ESRI maps will be saved for you. Select the Map Features button from the Identify tool in the ArcGIS for AutoCAD tab.
If I’m not mistaken, AutoCAD use CUI since 2006. Not MNU or MNS as it used to be. CUI (customize user interface) is a XML file.
It’s easier to manage. In this post, we will create a new command to set all properties to ByLayer. This is a request from my colleague. He likes to override color and linetype when he draw, and want to be able to reset all of the properties back to ByLayer. By clicking an icon, every properties will be set to ByLayer.
First you may want to take a look to what I want to achieve.. First open CUI by accessing menu tools>customize>interface or by typing CUI then [enter]. You will see browser like this.
If you use ribbon, find it in manage tab, customization section. Advertisement - Article continues below CUI browser is easier to use than creating old AutoCAD menu. There are 3 areas I would like to highlight • All customization. Here is where you decide where you can access all AutoCAD tools. Either you want to put it in ribbon, tool bar, right click context menu, and even double click. • Command list. Here is all your AutoCAD commands.
When you create a new one, it will appear here. • Properties. Here is where you can change the properties. After creating new command, you will have to define what it should do.
Right click on command list (2), and select new command from context menu. Give it name ‘All ByLayer’ without quote.
You can see the. Now, we have created a command. But it doesn’t know what to do yet. We have to tell it what it should do by typing macro in properties area (3).
Type this macro on the macro field. ^C^C(setvar “cecolor” “ByLayer”) (setvar “celweight” -1) (setvar “celtype” “ByLayer”) ^C^C will cancel everything. Similar to pressing [esc] twice.
Then we tell AutoCAD to change current color to ByLayer. Then current lineweight to ByLayer, and finally current line type to ByLayer. Give a description that makes sense. This is optional. We have created a new command, and give instruction what it should do when it’s executed. But AutoCAD doesn’t know yet, where you want it can be accessed. Now find it in command list.
We named it ‘All ByLayer’ before. Click and drag it to the place where you want it appear. In this example below, I put it on my layer toolbar. You can also put it on right click context menu (more about this later) or double click!