AutoCAD .NET :: Change Layer Per Command

Jan 17, 2012

I have a VBA program that I have been using for years that I am unable to convert to vb.net. When I start a text/dim command, the routine changes my layer to my Dimension layer, like wise when I create a viewport.

I like what I see with A2k12 but all this vb.net stuff has me quite frustrated. So many programs to convert so little time.

View 9 Replies


ADVERTISEMENT

AutoCad :: Layer Previous Undo Last Change In Layer Command

Nov 10, 2011

I want to know if I have understand this correctly or not: layer previous undos the last change in layer related command. Then If my last action is on layer, unod command will do the same. layer previous advantage is when you want to perform an undo which is not your last action.

View 0 Replies View Related

AutoCad 2D :: Change Layer From Command Line?

May 31, 2012

At one point I had a layer command that I could select a line, type in the layer I wanted (with no extra prompts required) and it would change. The best part is if the layer didn't exist it would automatically create it (without prompting me Y/N).

Using LAYMCH in the command line is very close. However I have to press N for name, then enter the layer. If it is a new layer, it prompts me Y/N.

View 9 Replies View Related

AutoCad 2D :: Change DTEXT Command To Be Typed On Specified Layer?

Jul 18, 2013

how to change the DTEXT command to be typed on a specified layer. I have poked around and came across some macros editing but this did not do the trick.

[&DText]^C^C-layer;s;TEXT;;dtext;

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Annotation Command Set Correct Layer For Duration Of Command

Nov 21, 2010

I am currently writing a series of routines for setting the layers for text, leaders and dimension commands. The end goal is a system where any annotation command sets the correct layer for the duration of the command, then reverts back to the layer that was active before the command.

I have managed to complete all the code, and it appears to be working fine, I just have one question: I have used -layer "m" "Lay_name" etc... for all layer setting commands, rather than any code to see if the layer exists already. In my limited testing this seems to be suitable, nothing that exists on that layer seems to be affected.

I know how to write code to determine if the layer exists already and set the layer instead, but so far it seems unnecessary??

View 8 Replies View Related

AutoCAD 2013 :: Lisp Can Change All Elements In Block To Layer 0 Except Layer Defpoint

Sep 3, 2013

I need a lisp can change all elements in block to layer 0 except layer defpoint but still keep linetype, color as it is.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Prevent Certain Object In Layer Change To New Layer Automatic?

Apr 17, 2012

lisp..It work fine but just that i need some minor modificatio to it...At moment, when i activate the lisp, it will automatic select all dimension,leader and multileader to a layer call "DIMENSION"...Anyway i wonder if it is possible to prevent any dimension,leader or multileader in layer "Section" will not be change to layer "Dimension"?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change All Objects On Layer 0 To Existing Layer PC Module

May 31, 2012

I'd like to have/write a lisp to change all objects on layer "0" to layer "PC - Module"

If possible also;

save the document close the document open next in directory run layer changer program again.

View 8 Replies View Related

AutoCad 2D :: Multiline By Layer Linetype Does Not Change With Layer?

Dec 20, 2011

I have existing multilines with linetypes set to byLayer, yet when the linetype on the layer changes, the Multiline linetype does not. Is there any way to get the linetype to change with the layer?

View 1 Replies View Related

AutoCAD Architecture :: Add Layer Key Via Command Line

Jan 31, 2012

I know how to add to the layer keys, and it seems to me that you can add a layerkey via the command line. Is this accurate or just wishfull thinking?

View 1 Replies View Related

AutoCAD LT :: Designating Layer To Specific Command

Dec 22, 2010

How can I, or can I apply a specific layer to a specific command?? When I choose the dimension command, i want it to automatically become my "Dim 1" layer without having to select it, then select the layer. Is this possible??

View 7 Replies View Related

AutoCAD 2010 :: Assigning Layer To Command

Dec 7, 2012

A company I used to work for had a custom set of dimensioning tools in the tool palettes. We had issues with people dimensioning on the wrong layers and they included an instruction(?) in these custom commands to dimension using the correct layer i.e. current layer set to 'Border', select custom linear dim command and dim is drawn in 'Dimension' layer.

My question is, what to add to the macro in the properties when creating such a command button to do this? ^C^C_dimlinear <add something here to use a specific layer?>

View 8 Replies View Related

AutoCAD LT :: 2007 Crashes With The Layer Command

Feb 15, 2013

I currently use Autocad LT 2007 and every time I use the llayer command Auticad crashes. 

View 4 Replies View Related

AutoCAD 2010 :: Why Don’t Have Command Zoom To Layer

Feb 12, 2012

Why we don’t have the command “zoom to layer” in the AutoCAD?

In particular cases, we need to zoom to certain layer. Is this possible in the AutoCAD? In the ArcGIS we do have this tool.

Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.

View 3 Replies View Related

AutoCAD 2013 :: Isolate Layer Command Does Not Work

Nov 19, 2012

instead of isolating the entity selected, it LOCKS all other layers, except the one you select

View 3 Replies View Related

AutoCAD 2010 :: Hatch Command Layer Selection?

Jan 26, 2012

When in the hatch command in 2012 I go to select the layer I want to use, but only some of them appear in alphabetical order, and the rest seem to be all over the place making it quite difficult to find the layer I want. I've tried increasing the maxsort figure, but it makes no difference. How to make them appear in the correct order?

View 7 Replies View Related

AutoCad :: How To Change Command For Copy

Mar 9, 2012

Is there a way to change the key-in for "Copy" to "C" and then "Circle" to something else?

View 9 Replies View Related

AutoCad 2D :: How To Change The Command Fillet

May 13, 2012

How can i change the radius og the command fillet in autocad mechanical 2011?

View 2 Replies View Related

AutoCAD 2013 :: LAYDEL Command - Delete Unused Layer

Mar 30, 2013

I'm trying to delete a unused layer. But when I do that I get the following error (see attachment). I googled a bit and figured out that the LAYDEL command might solve my issue, but as I'm using Autocad 2013, that's not possible, as it doesn't have this command...

The block that causes the error can also be deleted, I tried with the purge command, but must be doing something wrong cause it didn't work. Oh yeah, with regard to the purge command, I see it this way (attachment 2), how can you display it in a window kind of view to get a better overview?

View 3 Replies View Related

AutoCAD 2010 :: Layer Merge Command Is Not Working In One Particular Drawing

Sep 1, 2011

The layer merge command is not working in one particular drawing. But fine in others and new files using the acad.dwt file.Is there a setting that effects the command.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Command / If Layer Is Frozen

Mar 29, 2012

I have a  Layer named "Arch - Niveau 1".I would like to enter in the command prompt  "a1"..It would read if the layer is frozen or thawed and if it is frozen, it will thaw it?

And if the layer is thawed, it would freeze it..What could be added is: To check up if the layer exists and if not, create it.Would do the same for 2 other layer named "Arch - Niveau 2" command "a2"   and  "Arch - Niveau 3" command "a3". Is it clear?Now the lisp I've found and modified is this:

(defun c:a1 (/ lay ldef flag) (setq layn "Arch - Niveau 1") (command "_.LAYER") (if (not (tblsearch "LAYER" layn)) (command "_Make" layn) (progn (setq ldef (tblsearch "LAYER" layn) flag (cdr (assoc 70 ldef))) (and (= (logand flag 1) 1) (command "_Thaw" layn)) )) (command ""))
 This lisp looks if it exists, if not, create it and only thaw the layer.

I'm not enough familiar with the "not", the "progn" the "flag", "and" and "logand"  (!!!!)

View 9 Replies View Related

AutoCAD LT :: Set Default Layer Setting In Hatch Command To Use Current

Feb 1, 2012

In the hatch dialogue there is a setting to target the hatch to a specific layer. How does one set the default to ALWAYS be "Use Current"?

Attached jpg shows the target layer as ffbrg, but I want that to ALWAYS read "Use Current" when creating a NEW hartch. In other words, I am happily working in a specific layer creating all these hatches and then realize LATER that all the hatches were in different layers causing great confusiion and havoc. 

View 9 Replies View Related

AutoCad :: Color Of Lines In Layer 0 Become Yellow After Copyclip Command?

Dec 22, 2009

After "copyclip" command -no matter you use ctrl+c or type into the command line- color of all lines inside "Layer 0" with By Layer color property change to White. Other layers and color remains the same. If I change color property of "Layer 0" form "By Layer" to a specific color such as red, yellow they are also remain the same.

I am using Autocad 2009 64 bit.

View 9 Replies View Related

AutoCad :: Changing Layer Colours Within Viewports At Command Line

Apr 10, 2012

I am producing some floor plans which I am having to split into several sheets. I am reusing the overall plan in small scale as a key/location plan (in a seperate viewport).

As the viewport is at small scale I want to make the pens thinner so walls don't come out too thick so I go into the layer manager and change the viewport pen colours and freeze off unwanted layers. Trouble is although I can copy the viewport between sheets and drawings it won't remember the layer settings is there a way that I can either: Set a variable to remember the layer settings within the viewport when copying Write a script to change the layer colours within the viewport and vp freeze the unwanted layers so all the keyplan match between all of my sheets.

The script wouldn't be too much problem for me as I mostly use key commands but when I tried changing the layer colours using -la -> c -> red all the viewports changed not just the current one. Is there a different command to change the viewport colours or is it just not possible from the command line.

View 2 Replies View Related

AutoCAD Civil 3D :: Change Space Command

Feb 1, 2011

I have some dimensions and mleaders that are in paperspace that I want to put in model space.  When I use the CHSPACE command, the mleaders will switch, but the dimensions will not.  Is there a reason dimensions cannot switch space?  This is in Civil 3D 2010.

View 5 Replies View Related

AutoCAD .NET :: How To Change Window Command Color

Apr 23, 2012

I need to programmatically change the 'Window command' (Commande de fenêtre in French) color. I didn't find anything in Application.Preferences neither in the registry.

By 'Window command' I'm talking about the feature comming with A2012 displayed in the upper left corner of model space windows:

View 4 Replies View Related

AutoCAD 2013 :: Command To Change 3D To 2D Drawing?

Oct 22, 2012

I have a drawing that was drawn in 3D CAD and I need to convert to 2D CAD. I changed the view, but I cannot remember what the command is I need to type in to change to 2D.

View 3 Replies View Related

AutoCad 2D :: Change Default Value Of Angle That Is Between <> In Command UCS

Oct 2, 2013

How do I change the default value of the angle that is between <> in the command UCS

"specify rotation angle about X axis <180.00>:"

from 180.00 to 90.00

View 5 Replies View Related

AutoCad :: Change Folder Location By Command

Nov 25, 2013

I would like to know if it is possible by command to change file/folder location that are normally set up in the OPtions>Files tab.

I would like to know because everyone in the office uses a specific LISP routine on which i set some standard settings.

I would like to be able to change/add/delete file locations of the 'Tool Palettes File Location' and the 'Default Template File Name for QNEW'.

View 1 Replies View Related

AutoCad :: How To Change Save To Folder Using Command Bar

Aug 19, 2013

I have AutoCAD 2010 on a 2002 Windows XP Professional system. I do not know what I did to cause it but when I do a "save as" using the button, I no longer get a window. I can only save through the command bar. I cannot seem to change the save to folder using the command bar so I really need to get the window back.

View 3 Replies View Related

AutoCAD 2013 :: Layer - Cannot Input Unicode Character To Command Prompt

Dec 13, 2012

I've been using AutoCAD 2013 Korean in Windows XP and Windows 7(32/64bit).

I have a question the command prompt.

The line have the name of layer : 0 (default layer)

I create another layer. It's unicode

And I will change name of layer 0 to 도면층1.

But I can not input unicode character to command prompt.

But It was changed from property dialog.

Can I input unicode character from command prompt?.

Previous version(AutoCAD 2008,2009,2010,2012) CAD worked well.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved