Message 1 of 5
Adding block attributes with AutoLISP...but new attribute isn't going into the block definiton?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I think I may have just shot myself in the foot, HARD. I was using a LISP routine to add the same attribute to over 200 individual blocks...but what I TRULY need is for the attribute to go directly into the block defintion itself, NOT the inserted block reference on the the screen.
I've attached the LISP code I used, as well as one of the blocks I modified with this code. The attribute SYS_NEW_RAILS is clearly showing at the bottom of the attributes list in the Properties palette, as this is a Block Reference (which is a concept I didn't fully understand until right now)
Is what I truly want even possible, to use AutoLISP to add the attribute to the base block definition itself?