Jump to content

Search the Community

Showing results for tags 'layout origin coordinates'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

Found 2 results

  1. Hey guys! I have several drawings, each containing multiple layouts/viewports that need UCS to be set to World. It'd be great if I could open a drawing, run the lisp, and have a dialog box pop up asking which layouts I wanted to apply it to (similar to the interface for Lee Mac's Copy to Layout routine) I haven't done any VBAs bf, but I'm thinking that might be an option, since it's a pretty simple command. Any help would be appreciated! Thanks, Liz
  2. I want to use AutoLISP to determine the coordinates (in term of Model Space) that is corresponding to the upper left corner of a paper-space layout. I see that the upper left corner of the paper-space layout is (0'-0", 0'-0", 0'-0"). But that is just the coordinates in term of the paper-space. That is not the coordinates in term of the Model Space. I want to find out the XY-coordinates in the Model Space corresponding to that (0'-0", 0'-0", 0'-0") in the paper-space. By the way, the paper space layout is created using default setting and it is "Scale to Fit". What I am trying to do is to use EXPORTLAYOUT command to export the paper-space layout into a DWG file. This causes the resulted DWG file to become very small (because EXPORTLAYOUT converts all the 3D objects into 2D). Then I can upload it to AutoCAD-360 without running the risk of exceeding the file size limit in AutoCAD-360. When the user draws some lines in the small DWG file using AutoCAD-360, I want to be able to use an AutoLISP program to automatically copy and paste the lines from that small DWG file onto the master drawing. Obviously I want the lines to be copied to the right spot. Unfortunately, the coordinates in the small DWG file is different from the master drawing. Therefore, the lines are pasted onto the wrong spot. The way to fix this problem is to find out how the paper-space layout is offset from the Model Space. Actually, not only the coordinates in the paper-space layout is different from the Model Space, its scale is also different. Luckily I find a simple way to find out the XY-scale-up-factors to scale the lines back to the original size. Now, I only need to determine the coordinates of the lines. I have spent many days trying to figure this out -- no luck. And I have searched the web without any success. Please help. Thanks. Jay Chan
  • Create New...