Dynamic Block Table using Visibility States

Dynamic Block Table using Visibility States

walterKGDCT
Participant Participant
4,754 Views
28 Replies
Message 1 of 29

Dynamic Block Table using Visibility States

walterKGDCT
Participant
Participant

Hi Guys,

 

I'm running into problems trying to create a dynamic block using visibility states as well as adding a stretch action to a table for a hardware schedule for a client. I have a picture here on what i am trying to achieve. For the visibility state i want it to be able to add or remove rows, I also want to be able to stretch the block to the make just the "DESCRIPTION" cells a bit bigger if the text calls for it. As an example of the problem that i am running into, the visibility states and making "row 5" invisible and still having all the lower rows show up. Certain cells randomly become invisible even when i have a lower visibility state selected. With the stretch command the issue that i am having is that when i drag the arrow to stretch it, it is stretching the "QTY" & "UOM" drastically even when i had them all selected when i was creating the action and only want them to move with the stretch not all over the place. Maybe i could be doing this a completely different way i don't know, if you guys have any other ways for me to complete this task or if there is a you-tube video of how i could complete all of this that would be awesome. I'm open to anything. Thanks for your time.

 

 

 

 

Dynamic Block Table.png

 

0 Likes
Accepted solutions (1)
4,755 Views
28 Replies
Replies (28)
Message 21 of 29

Kyle.Pederson
Advocate
Advocate

Could you explain how to add a second Column that is resizeable. Say what if I wantesd the Description and the last column to be resizeable?

0 Likes
Message 22 of 29

MMcCall402
Mentor
Mentor

A stretch action could be used to resize a column. 

 

Stretch actions work very similar to the standard Autocad Stretch command.

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

0 Likes
Message 23 of 29

Kyle.Pederson
Advocate
Advocate

I attached block for Reference. I must be missing something. I have 2 linear stretches Parameters both with a Stretch and Move Action. issue I have is when I move the first Distance Parameter my Arrow for Distance 2 parameter is out of place.

0 Likes
Message 24 of 29

Libbya
Mentor
Mentor

Parameter grips always follow changes to their associated parameter.  Your Stretch action associated with the Distance1 parameter does not include the Distance2 parameter in its selection set, so it does not move the grip.  If you want the grip to move with changes to the Distance1 parameter, then add the Distance2 parameter to the selection set of the Stretch action that is associated with Distance1.  See screencast.  

 

 

Message 25 of 29

Kyle.Pederson
Advocate
Advocate

Having an issue where when I pull the distance down it doesn't update the visibility within the block? It seems to be doing some funky things and trial and error I'm not sure what I'm doing wrong. Currently I have only filled the first couple in visibility parameter until I get it corrected.

 

Any idea what I'm missing?

0 Likes
Message 26 of 29

Libbya
Mentor
Mentor

I think you're missing the yellow exclamation mark on your block properties table.  That exclamation mark says that the block properties table has an issue (or issues) that need(s) to be addressed before the table will function.  You can run an audit within the table to see what the reason is for the exclamation mark.  

0 Likes
Message 27 of 29

Kyle.Pederson
Advocate
Advocate

I was initially following the first video in this post that also had the error during the video. I will have to re-watch to see if I missed something after the error in the video to fix issue.

0 Likes
Message 28 of 29

Libbya
Mentor
Mentor

Did you read my post?  Did you run an audit on the block properties table?  Simple diagnostics would be easy to perform to sort out the issue without the need to rewatch a video.

 

When I run audit, it says the error is because there is an empty cell in the table.  In fact there is a whole empty row.  After deleting the empty row there is STILL an error with the table.  Audit says the error is that the block does not match a row on the table.  Audit is right.  The as-drawn distance of the linear parameter is not found anywhere on the table.  Either add an appropriate row or change the as-drawn distance to match a row on the table.  Voila, the exclamation point goes away and the block properties table works.  

 

 

 

 

Message 29 of 29

Kyle.Pederson
Advocate
Advocate

Thanks Libbya. I was not in the office yet to run the Audit before I responded. Much appreciated!

0 Likes