Jump to content

Search the Community

Showing results for tags '.scr'.

  • 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. Hi all, Trying to run a simple script on a bunch of files and am running into trouble. Using ScriptPro and AutoCAD Architecture 2012. I read Lee Mac's script writing tutorial http://lee-mac.com/scriptwriting.html but am not using The Script Writer (which looks pretty super). Macros should change the plot state of a specific layer, "X-CHEK" in this case, to No Plot, save, close the drawing. Here's what I have (after many small and tests): -LAYER P N X-CHEK _.save _Y _.close Results have been mixed. Currently ScriptPro is reporting failed for each drawing, but I know the layer state change was successful for about 80% of the drawings because saving the drawings in AutoCAD increases the file size from 8-10kb to ~80kb. Solution has been to go back and run the script on those unsuccessful drawings. Another strange thing that seemed to happen without warning was that AutoCAD stopped running the script altogether, flashing _.SCRIPT at the command line and closing the drawing without saving. Any ideas what I'm doing wrong?
×
×
  • Create New...