Simple Automation, edit block attribute with LISP.

Simple Automation, edit block attribute with LISP.

Anonymous
Not applicable
7,568 Views
20 Replies
Message 1 of 21

Simple Automation, edit block attribute with LISP.

Anonymous
Not applicable

Hello, I'm pulling my hair out over what I expected to be a simple function.

 

I'm completely new to using LISP so go easy on me.

 

Basically I need a function or something that will simple edit a block called "TitleBlock" and set the attribute "STATUS" to the text "Preliminary".

 

Also, what do i need to save the lsp file as? and what would I need to type to run it?

 

Any help would be great just to get me started, bonus points if you comment on code to help me understand it 🙂

0 Likes
Accepted solutions (1)
7,569 Views
20 Replies
Replies (20)
Message 21 of 21

Anonymous
Not applicable

Hello,

 

I'm trying to create a new forum post by it looks like something has gone wrong, they are being flagged as spam!?

I've tried to contact support but no luck, anyone else having problems? is there a mod online that can help?

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/select-amp-delete-lines-text/m-p/882...

I can't develop my coding skills without the occasional bit of help.

0 Likes