Jump to content

Search the Community

Showing results for tags 'draworder'.

  • 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...

Found 6 results

  1. So I have been trying to figure this out with several approaches now and I need some help. I would like to send all Wipeouts, or really any specified entity type, within a block to the back of the draw order. Is there a way to do this using Lee Mac's Apply To Block Objects routine? I tried this in conjunction with his draw order routines but the MovetoBottom command kept failing. I'm pretty rough with VisualLisp which is part of the issue when trying to troubleshoot his great routines. Or what about this approach? (I dont really understand it, again Visual Lisp) Below is what I tried. I do understand Vanilla Lisp. Visual Lisp I barely know the basics, but eager to learn. Please help me improve my capabilities. I love autolisp. Thank you. The issue is clearly with the lambda function and my improper use of it Im sure. The ssget I am trying to do is incorrect approach for use with his function. ;=========================================================== ; 11/Sep/2020 10:09 AM[Friday] AUTHOR: Brandon Gum ;-- ;DESCRIPTION: ;Select block with wipeout. ;Will send wipeout objects the back of the draw orer ;=========================================================== (defun c:test ( / s ) (princ "\nSelect Block: ") (if (setq s (ssget "_+.:E:S" '((0 . "INSERT")))) (LM:ApplytoBlockObjects (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object))) (vla-get-effectivename (vlax-ename->vla-object (ssname s 0))) '(lambda ( obj ) (BG:WipeoutToBottom)) ) ) (princ) ) (vl-load-com) (princ) (defun BG:WipeoutToBottom( / ) (LM:movetobottom (ssget "X" '((0 . "WIPEOUT")))) ;(princ) );end of defun ;===============Below here are Lee's draw order functions============== My LeeMac Based Approach.LSP
  2. We have some drawings where we've xref'd floor plans of adjacent buildings and annotated it with leaders (in model space) inside of a master file (eg Bldg1-1st flr, Bldg2-1st flr, Bldg3-1st flr all xref'd into Master1stflr.dwg). The individual floor plans contain a hatch layer color coding each room on the plans indicating departmental ownership. The leaders are all drawn on one layer called MC-TEXT in the master file. Our problem is the the leader annotations show up above the xref when drawn, but upon reloading the xref or re-opening the master file, the xref jumps to the front and covers up the leaders. I've tried to send the leaders to the front and the xref's to the back to no avail. Is there a command I can apply the in the master drawing that will hold the draw order upon xref reloading? Should I be pushing the xref's to the back or the leaders to the front? Is there a way to set draworder of layers? When invoking the draworder command, how do I call out a specific xref to push to back (without selecting the object with cursor...eg send Bldg1-1st flr xref to back)? Thanks for any advice in advance. Steve
  3. so, I have a raster image underlay in my drawing and I set the DRAWORDER to BACK in order to trace over. The problem is, when I do certain commands, like for instance, merge layers, or move something, it undoes the draw order and the image moves back to the front in a seemingly arbitrary way. The question would be, how do I set it so it stays in the back no matter what new layers I add or if I move something or delete something, etc. I just want it to stay put. any ides?
  4. I'm creating a block with a block attribute. In the blockeditor I can change the draworder so the attribute is partly under some lines. But the draworder in the blockeditor of the attribute doesn't work in the normal modelspace; the blockattribute is allways on top. Can anyone tell me how to fix this? block.dwg
  5. Hi there. I draw a lot of custom metal products at my work, many times they require an isometric view to fully understand what needs to be fabricated. My problem is, I need to show what is welded on top of what, which usually involves me drawing out a whole line, and then large amounts of trimming to show what gets layered underneath,thus making my eyes go crazy. It is annoying but not so bad until the design gets changed, and then I basically have to start over again because any changes at all cause all the lines to not match up. Is there an easier way to do this? I have tried drawing these in 3-d, but my computer freezes up on me too much. I was thinking if there was a way to draw something so that it is solid, I can then use draw order to show which bar is to be welded where. The only way I know how to do that now, uses solid hatching, and then prints the solid area solid black, and you can't see my anything but a black grid, not showing layers at all. I hope someone understands what I'm trying to explain, this is proving to be difficult for me to get into words:? I'm attaching an example of what I sometimes draw, I hope it helps to clarify.TRASH RACK.dwg Thanks for any help!
  6. Already, another challenge for experts from LIPS: In working with various entities overlaid with different colors and layers, you can get a selection of colors of visible entities in the upper layer, ignoring the entities of the same color located in a lower draw order?
×
×
  • Create New...