Insert Dynamic Block and pick visibility state

Insert Dynamic Block and pick visibility state

Anonymous
Not applicable
1,580 Views
9 Replies
Message 1 of 10

Insert Dynamic Block and pick visibility state

Anonymous
Not applicable

I'm trying to insert a dynamic block "Floor Drain" that has several visibility states and when inserted to either pick the state wanted or prepick the state when inserted. I don't want any other "Floor Drain" blocks to change when others are inserted with a different state.

 

 

0 Likes
1,581 Views
9 Replies
Replies (9)
Message 2 of 10

Libbya
Mentor
Mentor

Well, you're in luck.  When the dynamic parameters (including visibility state) of one block insertion are changed, it has no effect on other insertions of the same block.  Also, you can 'pre-pick' the visibility state of the new insertion by changing it in properties during the insertion process.

0 Likes
Message 3 of 10

Anonymous
Not applicable

How can I change the state when I use the insert command? Would I have to use a lisp to modify the last object? Any help would be appreciated.

0 Likes
Message 4 of 10

Libbya
Mentor
Mentor

There's no need for any lisp.  If you want to change an already inserted block, select it and change the visibility state by either selecting the visibility grip and using the pulldown or changing in properties.  As I said, you can change the visibility state in properties during the insertion process.  See the screencast.

0 Likes
Message 5 of 10

Anonymous
Not applicable

I see that you can pick  the state when you insert the block using a tool palette but you can't if you created a button to insert the block. Is there a way to either use a pull down menu or add it to the button to set the state when inserted? Attached is a block that we use a button to insert then have to change the state.

0 Likes
Message 6 of 10

Libbya
Mentor
Mentor

REGARDLESS of the way you insert the block, you can ALWAYS pick the visibility state in PROPERTIES.  In the screencast I show that you can do so BOTH with a tool palette tool AND using the INSERT command.  A button that inserts the block would work the same way.  

0 Likes
Message 7 of 10

Libbya
Mentor
Mentor

I took a look at your attached block.  You could clean it up and simplify it quite a bit.  There are 10 actions within it that do absolutely nothing (nothing in their selection sets).  Change the system variable bactionbarmode=0 in order to see them.  You have two polar parameters (distance3 and distance5) stacked on top of each other.  Similarly, you have two linear parameters (distance1 and distance 8) stacked on top of each other.  You may not realize that you can use the same parameter and/or the same action in multiple visibility states.  You can also attach multiple actions to a single parameter.   

0 Likes
Message 8 of 10

Anonymous
Not applicable

Thanks, for looking at the block for me. someone else did the block i was just trying to insert with different states. i did figure out how to change using the prop. is there a way to have a drop down menu show the states the user could pick?

0 Likes
Message 9 of 10

Libbya
Mentor
Mentor

The properties palette DOES give a pulldown list of the visibility states.  The visibility pulldown in the drawing window is only available after the block is inserted.  If you are looking for a way to have the drawing window visibility pulldown during block insertion, then nope, there is not any way I know of.   

Message 10 of 10

Emmsleys
Alumni
Alumni

Following up on your thread, were you able to find a solution or a workaround?

 

Did any of the posts in the thread help with the issue?

 

Please use the Accept as Solution for those post’s that helped. It may benefit other users who might have a similar question or issue.

 

Thanks for your time.        



Sarah Emmsley
Technical Support Specialist

0 Likes