Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Rename dynamic block and maintain visibility state

2 REPLIES 2
Reply
Message 1 of 3
dtrill
1421 Views, 2 Replies

Rename dynamic block and maintain visibility state

Using the AuoLisp code (vlax-put obj 'Name (vlax-get obj 'Effectivename)) a dynamic block 'obj' can be renamed to the 'effective' block name.  However, the visibility state is then reset to the default value.  Is there a way in AutoLisp to rename a dynamic block and maintain the current visibility state?  

2 REPLIES 2
Message 2 of 3
Carthik_Babu
in reply to: dtrill

Last but not the least....

 

http://www.lee-mac.com/copyblock.html

Carthik Babu M.S, Asst Manager - Machine Building,
Gabriel India Ltd,Hosur, TN, INDIA
Email:carthik_ms@yahoo.co.in ,
https://grabcad.com/carthik-1/projects
"May all beings be happy" http://www.dhamma.org/
Message 3 of 3
Scottu2
in reply to: dtrill

I realize this is an old post, but try this lisp routine.  I have been using it for some time.

See attached file, Brename.lsp.

 

Hope this helps.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost

 

”Tips

 

”Services