Jump to content

Search the Community

Showing results for tags 'layer'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CADTutor
    • News, Announcements & FAQ
    • Feedback
  • AutoCAD
    • AutoCAD Beginners' Area
    • AutoCAD 2D Drafting, Object Properties & Interface
    • AutoCAD Drawing Management & Output
    • AutoCAD 3D Modelling & Rendering
    • AutoCAD Vertical Products
    • AutoCAD LT
    • CAD Management
    • AutoCAD Bugs, Error Messages & Quirks
    • AutoCAD General
    • AutoCAD Blogs
  • AutoCAD Customization
    • The CUI, Hatches, Linetypes, Scripts & Macros
    • AutoLISP, Visual LISP & DCL
    • .NET, ObjectARX & VBA
    • Application Beta Testing
    • Application Archive
  • Other Autodesk Products
    • Autodesk 3ds Max
    • Autodesk Revit
    • Autodesk Inventor
    • Autodesk Software General
  • Other CAD Products
    • BricsCAD
    • SketchUp
    • Rhino
    • SolidWorks
    • MicroStation
    • Design Software
    • Catch All
  • Resources
    • Tutorials & Tips'n'Tricks
    • AutoCAD Museum
    • Blocks, Images, Models & Materials
    • Useful Links
  • Community
    • Introduce Yourself
    • Showcase
    • Work In Progress
    • Jobs & Training
    • Chat
    • Competitions

Categories

  • Programs and Scripts
  • 2D AutoCAD Blocks
  • 3D AutoCAD Blocks
  • Images
    • Backgrounds

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. RubberDinero

    Change entity layer

    At my job, i have a very tedious job of changing layers from proposed to existing and vice versa our layer setup is very basic "LayerName"=existing layer "LayerName-PR"=Proposed layer. i have recently bought a book to to learn AutoLisp and I've gotten the basic concept. I know that i want to ssget LayerName and setq that name to L then CHPROP LA to L-PR. but i want to know if someone has anything like this already and could help me. I'd like to do a mass select and have it automatically change the entities to their respective PR layer. also vice versa, to remove PR. i'm not looking for a layer renaming lisp. i'm looking for a entity layer changing lisp. anything helps. thanks.
  2. Hi Everyone:) I am working with contour lines. I don't have any trouble creating a surface from the contour lines (Toolspace > GIS topo > Definition > Contours > Add (with swapping edges selected) >> surface generates). What I was wondering is : IS there any way to create different layers for different slope gradients (as defined in the slope properties)? Ultimately what I want to do is be able to isolate the regions that fall into different slope categories and create boundaries around them. Any and all help is greatly appreciated!
  3. DesmetMartin

    What layer is the object?

    Hi! My question is, when you have a block, in a block, in a block,... How can you know, by only clicking one time, in what layer a specific block or line is? Thanks! - DM
  4. I have a series of drawings that I am now in charge off and three or more people have worked on it. I have changed all of the layers on the drawing to my layers. but there is 50 or more layers from other people editing these drawings. is there any way to remove the layers at once or can I only remove them one at a time with LALDEL? I appreciate any help.
  5. Hello All, I have looked around a little bit and haven't been able to find the answer I am looking for. I know commands like LAYTHW AND LAYON. I also used the info from "Michael's Corner" latest post. Everything is turned on and everything is thawed. However, it does not thaw layers that are labeled as VP Freeze. Instead of going to the layer properties manager, select all, and thawing the layers that are frozen in the view port freeze, is there a way to thaw all of them with a simple command or a button that is already created or one that I can make in the CUI? As always, any and all comments are appreciated. I have a feeling ReMark, BlackBox, BIGAL may have some insight in to this, or at least point me in the right direction.
  6. Morning All, Habitual LT user here - so no lsp before. Been given 2 month access to a 2014 license to get this job out of the door. I'm trying to create a lsp that grabs the content of a drawing, selects objects by layer and groups them using the layer name as the group name. I've found a couple of lsps that do some of what I want so I've been pulling them to bits and trying to create what I need, but I'm stuck. I've managed to get to a point where I've got a list of the layers and start the group command but I cant get the group names to work. I'm not demanding a full lsp, but would very much appreciate some guidance on how to approach this one. I've gone through the tutorials on Afralisp and some of the other threads but I just don't seem to be making any progress. There's 41 layers in most of these drawings, I don't really fancy doing it manually... PS I cant access any of Autodesks online help as apparently our IT guys have classified it as an "unsafe site".
  7. Hello Guys, Is there a possibility to make a map key to turn off a group of layers at the same time (f.e. 8-10 layers)? Thank you for your answer! T
  8. Separate/copy layer to other place by user pick point then sorting them horizontal below code not sorting horizontal.how to change the code, become horizontal (see image attached) (defun c:test1 ( / _move d ss l lst ) (vl-load-com) (defun _move ( obj p q dist ) (vla-move (setq obj (vla-copy obj)) (vlax-3D-point p) (vlax-3D-point q)) (vla-move obj (vlax-3D-point '(0. 0. 0.)) (vlax-3D-point (list dist 0. 0.))) ) (if (and (ssget "_:L") (setq p1 (getpoint "\nBase Point: ")) (setq p2 (getpoint "\nDesired Location: " p1)) (setq p1 (trans p1 1 0) p2 (trans p2 1 0)) ) (progn (vlax-for obj (setq d 10. ss (vla-get-ActiveSelectionSet (vla-get-ActiveDocument (vlax-get-acad-object)))) (_move obj p1 p2 (cond ( (cdr (assoc (setq l (vla-get-layer obj)) lst)) ) ((cdr (assoc (vl-string-right-trim "D" l) lst))) ((cdr (assoc (strcat l "D") lst))) ( (setq lst (cons (cons l (setq d (- d 650.))) lst)) d ) ) ) ) (vla-delete ss) ) ) (princ) )
  9. Hi, I'm searching a lisp that selecting layers by them name. As an example I give some names: AAA_BBB_xxx AAA_BBB_xxy AAA_BBB_xyz I need to select all layers that names start as AAA_BBB. The third part of name is changing. In this case I'd like to select only this layers that name has AAA_BBB. How can I do this? Thank you for any suggestions in advance. Jakub
  10. I am trying to define a group filter in AC2015 Original name upon creating is Group Filter1. When I try to change the name it gives following error message in command line -Layer Layer filter not found and in a box it says Unable to modify layers while another command is active The name I want to put is GF1. Although it appears as the name in filter tree but gave the above errors. I drag few layers inside this filter but I can't access what is inside the filter
  11. Hello, I currently use a routine that offsets a line in both directions based on a specified distance in the routine. After we run the command we usually have to select the two offset lines and put them on a specific layer, in this case "Structure". I am trying to just add to the routine so the offset lines are automatically put on that layer for us but for some reason when we run the routine its putting all 3 lines (the original, and the two offset lines) on that layer. Can someone review it over and respond. Thanks (defun C:OFF (/ pickEnt pickObj offDist) (vl-load-com) (setq offDist 0.0812) (while (setq pickEnt (entsel)) (cond ((and pickEnt (setq pickObj (vlax-EName->vla-Object (car pickEnt))) offDist) (vla-put-layer pickObj "STRUCTURE" ) (vla-Offset pickObj offDist) (vla-Offset pickObj (- offDist)) ) ) ;_ end of cond ) ;_ end of while (princ) ) ;_ end of defun
  12. (sssetfirst nil (ssget "_X" '((8 . "5")))) will select objects in layer 5 no problem but when i incorporate (getvar "CLAYER") to make: (sssetfirst nil (ssget "_X" '((8 . (getvar "CLAYER"))))) It comes back with error: ; error: bad SSGET list value It's probably just a simple fix (heck, maybe even a standard command to do the same) Thanks in advance.
  13. I'm using a drawing as a reference to make my own drawing, so I'm trying to switch all of the objects in the original drawing to the same layer to make it a little simpler to distinguish between the original and mine. A couple layers won't switch though. I select them all, choose the desired layer in the drop-down box, and nothing happens. If I select them again after that, they SAY they're in the new layer, but they still look/behave as if they're in the original layer (e.g. same color, only disappear when original layer turned on/off, etc). I've seen a couple other threads with a similar problem, but their solutions of setting "Pickfirst" to 1 or going through layer properties and switching "Color" and "Linetype" both to "ByLayer" didn't do anything. Any suggestions as to what else could be wrong?
  14. I'm trying to add doors where currently there are just lines for walls. Right now I'm doing that by drawing intersecting lines to use as reference points, using the trim feature to cut where I want the door, then draw the door and delete the reference lines. It's pretty time consuming, so I'm hoping there's a way I can just select two points on the line and switch the layer between those two points, leaving the rest of the wall in the original layer. Does anyone know of a way to do this, or have any other way to make this task go a little faster? Thanks in advance for any helpful replies.
  15. When I select some entities and send them to a layer that is off, frozen or both, I get an alert box that says "One or more objects has been moved to a frozen or turned off layer." That only happens when I send them off using the properties dialog box, when I send them off using the layers pulldown in the ribbon menu, I don't get this alert box. I prefer the second method only when I have a dwg with xrefs, because it won't list the huge list of xrefs, but I prefer the properties box because it does a lot more, but that alert box is annoying, can it be turned off? I'm using 2011 and am wondering if they have or will make the layers pulldown in the properties box filter out xref layers? Thanks! R.L. Hamm
  16. KShanahan_638

    Layer issues

    I work in the HVAC field. I've just around a year of experience with the program and have never had this problem before. I use 2 layers; 1 for piping and another for linears and dimensions, etc. For some reason, everything shows up on the model space, but once i plotted on the paper space, a good chunk of the layer i use for my dimensions are not showing up at all. I've regenerated the drawing, checked the frozen/unfrozen state, made sure the layer was on, went through layer properties and my printer logo does appear without the red line through it. If anybody has any input or have experienced this problem before, anything would help because i'm stuck. Thanks
  17. Is it possible to create a macro, and turn that macro into a keyboard shortcut that will THAW, your most recent turned off layer, or layers if multiple were frozen at the same time? This would be super helpful if somebody could help me out here! Thanks, Matt W.
  18. Hi Guys I have a dwg. with lot of Layers. I want to view only a couple of layers in the viewport. The method I use is - LAYFRZ/VPLAYER all the OTHER layers. So just wondering if there is a command through which I select couple of required layers and freeze all other layers, except those selected layers, at one go in viewport. or - there is an quicker alternate method/ procedure for doing it. NOTE: I cant use LAYISO coz it freezes all the other layers in MODEL space as well. Thanks
  19. I have some dynamic blocks in an old file. I am trying to use the same blocks in another file with some modifications. But when i try to edit it in block, it still remains the same. Can anybody guide how this is possible or what command I should instead of Bedit?
  20. Has anyone experience this or know why this happens? dwg A is x-refed to dwg B. am working on dwg B & click on x-ref and go into Edit reference in place. if I now click on > any object and go into properties & change the color from bylayer to red (for example) and save changes. -everything works fine and when i come out - the drawing B display red colour. -which is ok > however if i click on x-ref and go into Edit reference in place.if I now click on a layer and change its colour from pink to red. all the objects change colour to red. but when i save changes and come out to DWG B the colour of layer donot chage ,, stays pink (Visretain =1 , but i don't think its to do with that)
  21. Hello, I'm a fairly new AutoCAD user (AutoCAD 2012 version) so there's probably a very simple answer to this. I have a "Master" drawing with one xref inside. Im producing drawings (layouts) from this master dwg file. Im trying to freeze individual layers within the xref, I can do this by using the Layer properties manager "VP freeze" column, this is very slow. What I would like to do is select an individual layer of the xref within the viewport and freeze it using the layer dropdown list at the top, however when I click one of the layers within the xref all the layers within the xref become selected. How can I select individual layers within the xref????? Thanks
  22. Today I met the "wipeout" command for the first time in draw area. I want to know where do you use it and when or where it will show its benefits. Also in my own way of working, if I want to hide something or not print it, usually I turnoff the containing layer. Is it better to use wipeout, instead? What is the difference between wipeout and turn off layer?
  23. In one diagram I found that line of same layer can be dotted or full. I just want to ask how to make that and how to select them separately?
  24. I got the CAD file and want to find the length of the line of specific layer. The image attached contain the red line one dotted and other straight and full. The dotted represent the existing and full & straight represent the new & Proposed. By using the select similar I got the both line selected because both have of same layer (I think). Is it possible to use any command in autoCAD which select only doted line or full line at a time. (because In file there are about 20 groups of these line).
  25. Never had this problem until now. I just created a new linetype. Basically wanted an even smaller 'hidden' layer. I added it to my .lin file and in my start up lisp routine I have layers and linetypes being added in new drawings, and in old drawings its checking if they exist and if not they are being added. Furthermore, with that being said the new "hidden" layer that I have created is showing up as continuous in the linetype appearance of example of linetype. All I did was copy the current hidden1 and made the new one 50% smaller. See pic for visual of what I am talking about. Any help would be nice. Thanks
×
×
  • Create New...