Jump to content

Search the Community

Showing results for tags 'multileader layer'.

  • 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 want to mark layers of some elements in the drawing. I thought of using MLeader for this. I wrote some code in lisp but doesn't work. What am I doing wrong here? (defun c:ObjLayer(/ pnt1 pnt2 n obj dxf LayerName newdxf) (setq n 1) (while (> n 0) (setq pnt1 (getpoint "\nPick first point:")) (setq pnt2 (getpoint pnt1 "\nPick next point:")) (setq obj (car (entsel "\nPick Entity:"))) (setq dxf (entget obj)) (setq LayerName (cdr (assoc 8 dxf))) (setq newdxf '((0 . "MULTILEADER") (cons 110 (car pnt1)(cadr pnt1)(caddr pnt1)) (cons 10 (car pnt2)(cadr pnt2)(caddr pnt2)) (cons 304 LayerName) (cons 8 "A-ANNO-DIMS") )) (entmake newdxf) (setq n (1+ n)) ) )
×
×
  • Create New...