Announcements

Community notifications may experience intermittent interruptions between 10–12 November during scheduled maintenance. We appreciate your patience.

Dynamic Block Double Lookup doesn't work on first Visibility until one other visibility has been cycled

Dynamic Block Double Lookup doesn't work on first Visibility until one other visibility has been cycled

KGehrelsUNHWD
Enthusiast Enthusiast
192 Views
4 Replies
Message 1 of 5

Dynamic Block Double Lookup doesn't work on first Visibility until one other visibility has been cycled

KGehrelsUNHWD
Enthusiast
Enthusiast

I'm building a dynamic block to be the vertical and horizontal lines of a building column grid.   The block is based on the double lookup functionality.

 

Block Function

The user places the block then can select a lookup grip to determine if the main bubble is on the top, bottom, left or right.  A stretch action will allow them to extend the block to as long as they like and a flip grip is used to toggle the bubble on the other end on or off (I call it the auxiliary bubble).

 

Issue

The issue that I'm having is that all options work except for the left with the auxiliary bubble turned on (activating the flip grip).  If I first go to any of the other three locations and turn the auxiliary bubble on then go back to the left location the bubble stays on, but it I turn it off it won't turn back on again.

 

I suspect that the solution is something very simple that I'm missing from staring at this for too long.

 

Notes:

  • I've checked all of the table values and they line up.
  • The flip action is connected to the bubble around the auxiliary label since it's a circle so doesn't matter if it's flipped.
  • Yes, using a bubble diameter of 0.38654182 is ridiculous.  Someone else did that and I'm working on changing it to either .375 or .400

Request

Can someone please point me in the correct direction.

0 Likes
Accepted solutions (1)
193 Views
4 Replies
Replies (4)
Message 2 of 5

MMcCall402
Mentor
Mentor

I hope you don't mind but I took it in a little different direction.  I removed the lookups, flip, linear parameter, rotation and left just two visibility states.  I added a polar parameter with a polar stretch action.  The stretch action stretches/rotates the end of the line and the Aux label location point parameter. (action set to chain) The polar stretch action just rotates the Block position point parameter. (action is also chained)  The rotation properties for the polar parameter is set to an increment of 90 degrees. This allows the one grip to handle the stretch and the 4 rotation positions.  The visibility state grip turns the aux label on and off.

 

MMcCall402_0-1760043483771.png

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

0 Likes
Message 3 of 5

KGehrelsUNHWD
Enthusiast
Enthusiast

I don't mind.  It's always good to see other ways of doing things.  While your approach works and is wonderfully simple, I was hoping to have it so that the end user could set the label location for multiple blocks through the properties using words as prompts.  While this is still possible, they need to be able to remember which angle does which direction.  It's just easier if they have a word based drop-down.  Regardless, with your permission, I'd like to hang onto this block in case the one I started can't be debugged.

 

Do you have any idea why the one I created doesn't work?  Even if I go with the polar stretch idea, I'd like to know what I did wrong for future reference.

0 Likes
Message 4 of 5

h_s_walker
Mentor
Mentor
Accepted solution

@KGehrelsUNHWD There was something wrong with the data for the LEFT-ON in the double lookup table. I deleted it and recreated it and I've attached the updated block

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 5 of 5

KGehrelsUNHWD
Enthusiast
Enthusiast

@h_s_walker Thank you.  That's exactly what it was.

I was able to replicate the fix on my end.  I'm curious what it was about those lines that made things act strangely.  There is no difference between the fixed and broken block that I can see.

0 Likes