Jump to content

Search the Community

Showing results for tags 'insert multiple copies'.

  • 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. I have a couple of non-working autolisps due to a computer demise. I seem to have lost some files. They were also written in the 90s, last updated sometime before 2004 and I currently have autocad 2013. I don't want to post the whole routines all at once as they are very long. This is the first routine which is linked to the symbol library. I have no idea what it does or how to get it to look for the appropriate doslib . it gives "Sm Error:" when I run it. It used to run on a network so I changed it to a C : startup () and got the same message. After that I am at a loss (defun S::STARTUP () (setvar "cmdecho" 0) (setq piddirpre (findfile "pidsetup.lsp")) (setq piddir (substr piddirpre 1 (- (strlen piddirpre) 12))) (setq pidscale 1.0) ;Scale used for symbols. (setq mirrdef "V") ;This is the default mirror orientation used in PIDSYM ;load DOSLib for either Release 14 or Release 15 (cond ;if DOSLib is already loaded, return true ((not (null dos_about)) T ) ;if AutoCAD Release 14, ((= (atoi (substr (getvar "acadver") 1 2)) 14) (arxload "doslib14") ) ((= (atoi (substr (getvar "acadver") 1 2)) 15) (arxload "doslib2k") ) ((= (atoi (substr (getvar "acadver") 1 2)) 16) (arxload "doslib2004") ) ) (setvar "cmdecho" 1) (princ "\n") (princ "\n") (princ) ) (defun sm-error (msg) (setvar "cmdecho" 0) (if oldattdia (setvar "attdia" oldattdia)) (if oldattreq (command "attreq" oldattreq)) (if oldangbase (setvar "angbase" oldangbase)) (if oldlay (setvar "clayer" oldlay)) (if oldosmode (setvar "osmode" oldosmode)) (princ "Sm Error: ") (setq *error* olderror) (setvar "cmdecho" 1) (princ) ) (setq *error* sm-error) (load "pidsym") (defun dtr (a) (* pi (/ a 180.0)) ) (defun rtd (a) (/ (* a 180.0) pi) ) I mucked about with autolisp in back 2005/6 but I have forgotten most of it and what I did dealt with counting and labelling blocks
×
×
  • Create New...