Jump to content

Search the Community

Showing results for tags 'script'.

  • 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. Ok i have this macro: ^C^Cgraphscr ;filedia 0; script "logo.scr" that opens this script: _Insert "L:\AUTOCAD\Titleblocks\SSAB Logo\SSAB Logo.dwg" ;And to finish the script Filedia 1 I am running autocad 2010 64 bit on windows 7 64bit The script works if i run it via the command line instead of through a button but the macro does not want to work except if i have a blank (acad.dwt) drawing open. It recalls the the last command before starting the macro: Command: Command: Command: graphscr Command: GRAPHSCR Command: filedia Enter new value for FILEDIA : 0 Command: FILEDIA Enter new value for FILEDIA : script Requires 0 or 1 only. It fails because filedia is running again then instead of answering as 0 or 1 it uses script, which fails. I have tried multiple things. Please Help Also the buttons to put code in are not working.
  2. Using Autocad_2k10 and ScriptPro Trying to write a srcipt to copy/paste a certain amount of text in these coordinates (ie.: 1.8520, 13.1085, 0.0000) in 100+ drawings to a file (ie.: 123.txt or 123.xls) I'm stuck on the "paste to file", is this possible? Please advise, I'm using ScriptPro cause of the batch process. Thanks, BW Deen
  3. Hello! I'm new to scripting, I dabbled a bit in AutoLisp years ago, but since my new AutoCAD LT doesn't support lisps I haven't retained that knowledge. Anyway... I am trying to write a script that will use the MOVE command and displace an object by a set distance. (I have to do this thousands of times over.) However I do not know how to select the object from with in the script. Anyone know how to do that?
  4. Hi I'm trying to write a script which would enable me to redefine a block, save and close the drawing. I would like to run it on multiple drawings. I have managed to write a script which does redefine the block but it stops and either I get "Unit-scaling inserted database..." message or it starts a new command..... ("Command: 1.000000") I did not get the script to save the changes or close the drawings. Any help would me very much appreciated. Below you will find the script file (command "._insert" "Drawing Sheet A1=U:/27979/Config/DWGSheets/test/Drawing Sheet A1.dwg" 0.0 _units 1.00 _basepoint 0,0 _scale 1.0 _rotate 0.0 ) qsave (princ) close
  5. I have a LISP routine that opens a drawing related to the drawing already open, and another one that performs some layer manipulation in the 2nd drawing, does a COPYALL, and closes the 2nd drawing. What I haven't been able to figure out, through vast amount of internet searching along with trial and error, is how to be able to return to the original drawing and paste the contents. I can, of course, do it manually, but I'd like to automate it as much as possible. I've tried various lisp and script routines, also nested variations of those. The result is either a process halts due to the file opening, or a script or lisp doesn't wait for the previous one to complete before it runs. Does what I'm trying to do even sound possible??? If so, any light that can be shed on this would be greatly appreciated. Thanks.
  6. I love AutoScript by Caddig, but I just got upgraded from 2010 to 2012 and now it won't work. Does anyone know of any other programs that will work with 2012 to perform the same function? Thanks, John
  7. hello everyone i actually have the above views and a full front section done but now that i have done that when i try to use solview to make a full right side section it uses my most previous viewport and i was wondering if any one knew a command for command prompt th switched the vieports that yoou can enter in the command prompt i do have a shortcut using control plus something so a way to use ctrl in script would be handy as well thank you for the help
  8. I am currently using AutoCAD LT, and I have been racking my brain trying to figure out how to create a table using a simple script. Is this even possible with LT, and if so, does anyone have any helpful advice?
  9. hello cad users, i am making 3 contineous objects, which are in cylindrical in shape,i want to rotate these object differently by using script.iam using these script: rotate all 2,5,7 30 delay 200 rscrept but all the 3d objects are rotating at a time.i want to rotate different objects in different angle and direction. any suggestion for me my friends.
  10. I have three network printers that I print to for various reasons. I want to write a script that goes through the printer setup for each printer but when it gets to the printer name it always bombs out because the printer name has spaces in it. Some of the printer paths have standard network names too including backslashes ie: \\Server1\HP 5000 Changing the printer name is not an option. Even the paper size has spaces "11 x 17" so that is also a problem. I use Tabloid if it is an option but one printer there is only 11 x 17! Can someone please tell me how to use text in a script if there are spaces? Thanks!!
  11. Hi, I have a script that will plot layers automatically without me going into layer manager and changing them and then clicking plot. The drawings i will be working with are electrical, they have many layers in one drawing. the layers are not sequentially numbered so makes the script harder to produce. In theory i wanted a vB program were i have check boxes of the layeers and then the layers checked are pasted into the script. Has anyone got any ideas? the script is as follows:
×
×
  • Create New...