Visibility States List

Visibility States List

chris.slattery
Contributor Contributor
462 Views
2 Replies
Message 1 of 3

Visibility States List

chris.slattery
Contributor
Contributor

Hello,

I am making a block that is going to have many visibility states. Does anyone know of a way to populate visibility states names quickly with VBA or LSP instead of doing them one at a time.

0 Likes
Accepted solutions (1)
463 Views
2 Replies
Replies (2)
Message 2 of 3

h_s_walker
Mentor
Mentor
Accepted solution

In a post long ago @steven-g had the right idea. You don't need vba or lisp, you can do it with a script.

Put the below in a script file and run the script from within the block editor. Make sure you have a visibility parameter in there.

-bvstate new test1
S
-bvstate new test2
S

 

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Message 3 of 3

chris.slattery
Contributor
Contributor

That worked out well. Thank you.

0 Likes