+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Forum Newbie martymoose's Avatar
    AutoCAD 2010
    Join Date
    Nov 2008

    Default Global Block Hatch Edit

    Registered forum members do not see this ad.

    I need to globally edit hatch patterns on Layer 0 within blocks on a specific layer without exploding or bursting. Can this be done?

    BEDIT will allow me to make my changes, but I'm looking to isolate these changes to blocks only on layer M-HVAC-EXST-DUCT.

    This is a snipit of what I have so far:

    (if (setq ss1 (ssget "_X" '((0 . "SOLID") (8 . "M-HVAC-EXST-DUCT"))))
    (command "_chprop" ss1 "" "Color" 9 "") "regenall")
    (if (setq ss2 (ssget "_X" '((0 . "HATCH") (2 . "SOLID") (8 . "M-HVAC-EXST-DUCT"))))
    (command "_chprop" ss2 "" "Color" 9 "") "regenall")
    This will effect all hatches on Layer M-HVAC-EXST-DUCT, but I need it to effect hatches on Layer 0 that are within blocks on that layer.

    I may be way off base in my approach.
    Any suggestions...
    Last edited by martymoose; 10th Aug 2009 at 06:36 pm.

Similar Threads

  1. Numerical Global Block Attribute
    By kristin in forum AutoLISP, Visual LISP & DCL
    Replies: 10
    Last Post: 16th Jun 2011, 10:52 am
  2. Global Block Changes
    By Kat in forum AutoCAD General
    Replies: 2
    Last Post: 24th Jun 2009, 10:15 pm
  3. Creating tool (lisp) for copy attribute and global attribute edit
    By MarcoW in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 14th May 2009, 10:41 am
  4. global block
    By idontknow in forum AutoCAD Beginners' Area
    Replies: 2
    Last Post: 8th Oct 2008, 07:04 pm
  5. Global Spot Grade Edit.....
    By El Jefe '36 in forum AutoCAD Drawing Management & Output
    Replies: 7
    Last Post: 20th Nov 2007, 06:11 pm


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts