Jump to content

Search the Community

Showing results for tags 'save some'.

  • 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 1 result

  1. JPlanera

    Save some

    I am sure there is a much simpler way to do this, but it works and thats all that matters, right? I always need to pull certain parts of a drawing out into a new file and to avoid all the copy clip open paste..... i created a program to do it for me. It uses 2 different LISPS and a script file.. (Again, im sure there is an easier way...) This is the main code... ; THIS COMMAND WILL SAVE A SELECTED PORTION OF A ; ; DRAWING TO A NEW FILE AND OPEN THE SAVE AS DIALOG BOX ; ; CREATED BY JPLANERA ; (DEFUN C:ssome ( / sset BP) (setq sset (ssget)) (princ "\n...Select base point:") (setq BP (getpoint)) (command "copyclip" sset "") (command "script" "M:\\ENGR\\DRAWINGS\\AUTOCAD SETTINGS\\SCRIPTS\\OPEN_NEW_PASTECLIP.SCR") (princ)) This part of the code I auto load with the startup of AutoCAD (defun c:ssomesave (/ FN) (setq FN (getfiled "Save Drawing As" "" "dwg" 1)) (if (= FN nil ) (progn (princ)(princ "...SAVEAS ABORTED...")(princ)) (progn (setvar "cmdecho" 0) (command "saveas" "" FN "y")(princ)))) And here is the script file... NEW pasteclip 0,0 zoom extents ssomesave I hope someone else finds this usefull, and of course, if it can be improved... bring it on! :-)
×
×
  • Create New...