Jump to content

Search the Community

Showing results for tags 'layout'.

  • 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. Hi all, I am attempting to get a viewport from blocks in modelspace to paperspace with a layout template. I would like this automated by selecting all the blocks in numerical order and placing them on the correct numbered layout. I have found plenty of lisp out there, but nothing that seems to work 100%. I know there are programs out there, but I want to try to learn autolisp with this project. I think I was able to get close with these two: Draw bounding box on object-from Blackbox Create multiple viewport from multiple rectangle in model space-from hmsilva The main difference I want to change below is to select all of my objects, instead of being prompted to select a single object, (defun c:BNDBX (/ eName mn mx) (vl-load-com) (if (setq eName (car (entsel "\n >> Select Object >> "))) (progn (vla-getboundingbox (vlax-ename->vla-object eName) 'mn 'mx) (vl-cmdf "._rectang" (vlax-safearray->list mn) (vlax-safearray->list mx)))) (princ) ) ) I have tried inserting (if (setq eName (ssget "_x" '((0 . "INSERT") (2 . "PageView")))) on the 3rd line with no success. Eventually I would like to have the second code produce layouts in order. But I figured I would get this chunk sorted first.
  2. Hello all. I need a lisp that will merge all layouts, that start with a certain name, into one PDF file. I have already made some progress with this Lisp. With the dwgprops I get information about the current file path, which I then merge all with the stract command. This also works, only the command "-Export" "ak" can only print one sheet. The number of layouts that start with "Plan..." are always different. Does anyone have an idea which command works instead for publish all Layouts, that beginns with the same name? The -publish command always asks me for a dsd file. (defun c:Documentsheets ( / pdfName ) (vl-load-com) ;--------- get variabel für contact - number: (setq acadObject (vlax-get-acad-object)) (setq acadDocument (vla-get-ActiveDocument acadObject)) (setq dProps (vlax-get-Property acadDocument 'SummaryInfo)) (vla-getCustomByIndex dProps 4 'myValue1 'myValue2) (setq contact myValue2) (princ) ;--------- get variable for order - number: (setq acadObject (vlax-get-acad-object)) (setq acadDocument (vla-get-ActiveDocument acadObject)) (setq dProps (vlax-get-Property acadDocument 'SummaryInfo)) (vla-getCustomByIndex dProps 5 'myValue1 'myValue2) (setq order myValue2) (princ) ;-------- (setq Pathone "\\\\company.lan\\xyz\\erp\\land\\contact\\") (setq Pathtwo "\\order\\") (setq Paththree "\\folder\\") ;-------- (command "_Qsafe") (foreach layname (vl-remove-if-not '(lambda (ln) (vl-some '(lambda (n) (wcmatch ln n) ) '("Plan*") ) ) (layoutlist) ) (setvar "ctab" layname) (setq pdfName (strcat Pathone Contact Pathtwo Order Paththree (strcat order "_Drawing") ) ) ) (if (findfile pdfName) (command "-EXPORT" "PDF" "Ak" "N" pdfName "J") (command "-EXPORT" "PDF" "Ak" "N" pdfName) ) )
  3. Hi Guys, I have several layouts when drawing, which also have different names. I want to save in a Lisp all layouts that start with a specific name in a certain folder as PDF. I am new in lisp, but i have managed to write a lisp that selects the correct location for me. Unfortunately only all layouts are printed. (defun c:Dokument_Export () (command "-EXPORT" "PDF" "ALLE" (strcat (substr (getvar "DWGPREFIX") 1 70) "\\08_Auftragsbestätigung\\" (strcat (substr (getvar "DWGNAME") 1 8) "_Zeichnung") ) ) ) You have any idea? Thanks in advance.
  4. My model and layout tabs are missing in Autocad 2018, is there any other way to bring them back? i have tried below method by check the box that said"Display layout and model tabs but still does not work. i also set the value to 0 and 1 doesn't work, Please help. thanks Products and versions covered
  5. sinergy

    Layout not working well

    Hi The existing layout that I had configured to present parts of the drawing that is in the model is not showing well all of a sudden. What I see is exactly the same copy of what I have in the model, only rotated by 90º. On the other hand, when I hover with the mouse on top of the layout's tab, a thumbnail of the content of the layout appears, where it actually shows the work that I had done before (where there were several viewports, and a title block). See attached file. So this look weird to me....In some way it looks as if autocad still remembers the actual content but is not capable of displaying it in the layout window....How can I sort this out? Any help appreciated Regards
  6. Hello, I am interested in a LISP able to make overlapping sheets as layouts following a road alignment and overlap a fraction. Each sheet will have its own UCS or view orientation. You can see it from these videos: anyone knows one? Best regards, Daniel
  7. Hi everyone, I'm new to using macros/lisps in AutoCAD, though I do have a small programming background in some other programs. To give you some background on what I'm trying to do: I have a big .dwg file that shows all of the roads in a particular city in the USA, and I have created views of all of the intersections that have crosswalks. All of these intersections have their own intersection IDs, which have a format such as BRI1, BRI2A, BRI3B, BRI4, BRI5, etc., through BRI170. I have already created all of the views from these intersections, and now, in the same .dwg, I am trying to quickly create layouts from a template that show only one view each. I have a .dwt set up for this, and the name of the layout for this template is EB124. I want the layout tabs to be named corresponding to an intersection ID, and then have the viewport show that same view. So, I want layout 1 to be renamed BRI1, and have the viewport view restored to the named view BRI1, and so on for all of the named views. Here are the commands that I used to create a macro for this using the Action Recorder: -layout > t > [select template from file] > EB124 -layout > set > EB124 -layout > rename > EB124 > [ASK FOR USER INPUT, example BRI1] [select the viewport in the new layout and unlock the display] MSPACE -view > restore > [ASK FOR USER INPUT, example BRI1] PSPACE [select the viewport and lock the display] This macro works great, except that I have to press play and enter the intersection ID twice per layout tab. I'm wondering if its possible to create a lisp that does this routine but reads an excel (or other) file and loops through and creates all the layout tabs in one fell swoop? Thanks in advance for all of your help!
  8. Hello, guys! So, I have this 3D view of my project and my personal layout on the same .dwg file. Attached herewith is a screenshot of the 3D view, that I want to place on my layout, and my own personal layout. Can somebody please give me a step-by-step procedure on how to this. An example is also attached for your reference. Thank you very much & I appreciate whatever help you can give me
  9. Hi, I have my xref-drawings with many layouts with even more viewports. In all these viewports i wanna show different kind of information and therefore i have to freeze some of the them, depending of what i want to show ofc. Now i just realized i have to change all my layer names from the orginal drawing, and when i do that all the freezed layers unfreezes in my xref viewports. for ex. All my layers starting with B_..... and now i wanna change that to X_... but i still wanna keep the layers frozen/unfrozen on the particular viewport in my xref-file. I Hope you guys understand what im trying to say and hopefully someone will save me from this ¤!%"&/ :)
  10. I'm familiar with creating assembly drawings in SolidWorks, but AutoCAD is a different animal. This layout looks hideous. Why won't my dashed lines and dimensions show in the second viewport? And even if they did, I don't think the annotative dimstyle is doing anything. And no matter what I do, the layout won't plot in monochrome.ctb; the lines still have their colors. And does anyone have advice on how to make this look more professional? A tremendous THANK YOU to anyone willing to help me with this. I think it's clear I officially have no idea what I'm doing. Delta Bracket_upload.dwg
  11. Hello, I have problem with command reactor. I want to dress up (add some blok, put viewport in specific layer) all new layouts created by command „layout“ with option „New“ or the „plus“ icon in layout list panel. How can I find out the event (new layout) is occured? And how can I get reference to this new layout? Any ideas? Command ended reactor to command "LAYOUT" fires everytime even the new layout is not created. Thanks for help and I'am sorry for my english Marek
  12. Models with different sizes (m² or ft²) and scales (1:50, 1:100, 1:200, etc.) are divided into different numbers of layouts. I have seen they are either put into a single layout or divided into several layouts. How do you know into how many layouts and at which points a model should be divided to print it out with the right scale and paper size? Thanks in advance.
  13. Hello, The layout scale in my drawing is set to 1:1 (image 1). However, the object is clearly not 6 inches, as it would be more than half of the 8.5" width of the page (image 2). What is scaling the objects? How can I not have the objects scaled? Thank you for your time.
  14. I looked for a way to create a detail and arrived to Layout tab, Crate View, and Detail. But at Create View, Detail is dimmed, non clickable. Can someone help? Thanks, Luis.
  15. Hello! I must have done something with my property bar because all of a sudden it's look like this (see attached file) I want it to look like it use to, the normal way. what will i do?
  16. Hi all, I have about 140 layouts and I've just been asked to add a piece of information (some mtext) to every other layout, any ideas? Any help is appreciated, Dave
  17. Hi there. Problem : I`m trying to create a sheet set from existing drawing. When I browse to the folder where the drawing is, it doesn`t show me it in "Choose Layouts" window. I tried renaming the drawing, putting it in another folder, deleting all *.dst files but no success. Few days ago, it worked fine. I can still see the older versions (backups) of my drawing, but they are not actual (lot of work done since). Is there something I`m missing? Can you help me with this issue? Thanks for help.
  18. When working in model space for an extended amount of time then selecting the layout tab the program crashes. I have had it happen so many times I have gotten in the habit of hitting save before switching. Any ideas? I know that there is an upgrade for Civil 3D 2014 that I have not had the time for my boss to load up. Would that fix it?
  19. Hey guys, This seems like an impossible maneuver, but I'd kick myself if I didn't ask the question. What'd I'd like to do: Essentially draw a selection box/window around an object in model space, and it is auto-magically captured inside of a viewport on a brand new Layout tab (duplicating the layout settings of an already existing "master" tab). I'm so used to using the "Print Window" feature, it seems liked it'd be possible to snapshot objects in this manner in a more permanent fashion, making plotting quicker and easier. Especially if I need to do multiple prints. Thoughts? Suggestions? Alternatives? Thanks guys!
  20. grain

    Scaling Problems with Layout

    Using the Page Setup Manager I set a page size of A1 landscape. When I scale my model in Model space to 1:20 (a small bathroom drawn metric 2m wide) it appears about 4 times too big. What could I be doing wrong. The units in model space is metric. It was initially working but somehow I must have reset something. Any thoughts really appreciated.
  21. Hey! Here is my problem: I have a 2010 .dwg draw(my CAD version is 2011), and on my layout i can't see the locked layers ( i can see them on the model view). I think the problem is with my AutoCad because on the other device i can see the locked layers on the layout. Thanks for your help!
  22. Hello, I work for a practice of landscape architects. On the project I'm working on we have a series of drawings covering the site layout or construction details. Each drawing will issue corresponds to a page layout. When we issue revised drawings to the contractor as PDFs we also need to issue DWGs to the other members of the design team. I bind any xrefs and remove all unrelated page layouts... however, the DWG is still very large and most importantly the model space still contains a lot of extra, unnecessary information. It's just not cost effective to manually strip away objects that won't be visible in the page layout. Is there a way to delete all objects from layers that are frozen or not visible, or all objects that are visible but do not appear within the viewports on the current page layout? I already PURGE and -PURGE RegApps to reduce some clutter and reduce file size. Oh - I've also tried the Export Layout tool. This frequently crashes with a fatal error and when it does work, the resulting model is in page units and looses it's "position" in the real world. We're using both LT 2013 and LT 2014. I think we have access to a version of AutoCad Map 3d 2013. Thanks for your time in reading this!
  23. I have a finished 3D model in AutoCAD (although I did import it from another program), and I want to create the standard orthographic views as easily as possible. This tutorial looked perfect http://www.dummies.com/how-to/content/how-to-create-a-2d-view-from-a-3d-model-in-autocad.html but i ran into some trouble. At step 5, where it says to press Base or use the command VIEWBASE i get a window that will ask me to open up some kind of inventor file. The tutorial does not acknowledge this, but the rest of the instructions and result seem like just what I need! Anybody know how to do it in this way or in some other easy way? Any help is appreciated considering I need this as part of my project pretty soon. Please try and be clear and beginner friendly with instructions, I am only a student and have only been using AutoCAD for two years.
  24. Hi all, Is it possible to rename layouts from a spread sheet or table within a drawing? I have loads of drawings which require the layouts renaming i to a protocol and renaming individually takes ages while the layout regenerates. Your help would be most appreciated Stenna
  25. I need to get a PNG (or any other image file) with a transparent background off of my layouts. We need them to put some images on our website. I've tried everything...pngout, wmfout, converting, GIMP, inkscape...can't seem to make it work. Any help or advice is much appreciated.
×
×
  • Create New...