Change one Stretch parameter by stretching another?

Change one Stretch parameter by stretching another?

Anonymous
Not applicable
704 Views
5 Replies
Message 1 of 6

Change one Stretch parameter by stretching another?

Anonymous
Not applicable

I'm creating a dynamic block of a fastener. This was easy when I was creating Structural bolts that had the same thread length for a given diamter.  However now I'm creating a dynamic block of a Flat Head Cap Screw based on ASME B18.3 dimensions.  In this spec the Thread length differs different lengths of the SAME diameter.  

 

For this I created a Lookup that links to the Length, and the Thread Length parameter.  This block works fine if I select a size from the lookup grip, but when I want to do is stretch the length "L" parameter which will intern change the length of the Thread Length.  

 

Is this possible?  I've attached a dynamic block of what I have so far. 

0 Likes
Accepted solutions (1)
705 Views
5 Replies
Replies (5)
Message 2 of 6

Richard.Vivanco
Advisor
Advisor

Did you try with constraints? 


Richard Vivanco V.
Arq. BIM Manager + Autodesk Certified Instructor
Website | Youtube | LinkedIn



EESignature

0 Likes
Message 3 of 6

ojuris
Advisor
Advisor

you can use double lookup

0 Likes
Message 4 of 6

Libbya
Mentor
Mentor
Accepted solution

Don't use constraints for this.  It would be much harder than necessary.  You can use either a block properties table or double lookup.  Here I show the basics of how to get the double lookup to work.  

 

 

0 Likes
Message 5 of 6

Anonymous
Not applicable
This is basically what I need, thanks so much for your response.

I originally tried a double lookup (as I've used them to fake multiple visibilities) but I couldn't get it to work.

I think I don't completely understand the inner workings of what a DLookup is actually doing. I'll have to run some experiments. I feel I could do more if I knew what was going on.

Thanks again!
0 Likes
Message 6 of 6

Libbya
Mentor
Mentor

The way the double lookup works is that when the input parameters on one table are changed so that they match a row, then the input parameters on the other table are switched to the values that match the lookup property of that row (as long at the other table 'allows reverse lookup'.  

0 Likes