Jump to content

Search the Community

Showing results for tags 'attribute edit'.

  • 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 3 results

  1. Hello, I am new to AutoLISP world. I am trying to write a code which will edit attribute in incremental numbering with each click on attribute. The easiest way command for it is "ATTIPEDIT". But I failed use ATTIPEDIT in LISP. Pls help to run this code: (defun c:DTAG () (princ "\n AUTOMATIC ATTRIBUTE SEQUENTIAL NUMBERING") (setq no (getint "\n Enter Starting Number : ")) (setq pt T) (while pt (setq notxt (itoa no)) (setq pt (getpoint (strcat "\n Select Attribute to be changed ( "notxt" ) < exit > : "))) (if pt (progn (command "_.ATTIPEDIT" pt notxt) (setq no (+ no 1)) ) (princ "\n Routine terminated normally by User") ) ) (setvar "CMDECHO" ocmd) (setq *error* olderr) ;;Restore old error handler (princ) ) PFA ACAD file to test. Try putting incremental numbers in place of "0". HVAC Dynamic Blocks 09.02.2018.dwg
  2. Morning Everyone, I've just won a fabulous project with a very well known supermarket producing phasing drawings for their new store fit-outs; I receive their drawings in DWG format with as you can imagine thousands of blocks detailing the shop fixtures. Each blocks contact a minimum of 5 attributes that they use for merchandising etc. This information is of no use to me what so ever and I would like to delete the information from the block as it messes up my phasing drawings making them illegible . Is there a lisp or any code that could remove all the attribute entry information (nothing else without resetting the block as they are mostly dynamic blocks) so I dont have to select each and every block to delete the information. I have tried freezing the attribute layer out of the drawing but this doesn't work due to not all the attributes being setup on the same layering standard . Look forward to hearing from you all Stenna
  3. using AutoCAD 2009 (vanilla) I got too smart for myself today in bringing an old drawing up to current standards... Everyone seems to want their block attributes to be zero - I have blocks where the attributes are best when they match the rotations of each blocks. I have an old drawing that was rotated (as it should be) at approx 2deg. I used a lisp routine to global edit all the blocks that needed to be at zero. BUT for some reason (and after hundreds of blocks were corrected), I noticed I now have two blocks that should NOT have been in the set have had their attributes rotated to zero....and the attributes should be at the same rotation as their block's rotation. Because those two blocks have a fixed tic mark, I can click on the mark to see what the block rotation is, then rotate its attribute to that rotation, but I have hundreds of blocks! One-at-a-time sucks.... Any chance there is a GLOBAL way to edit an attribute rotation to match its own block's rotation? Many thanks!
×
×
  • Create New...