AnsweredAssumed Answered

How do I get the length of an edge to use in an equation?

Question asked by Juliann Vatalaro on May 15, 2020
Latest reply on May 16, 2020 by Rob Edwards

I'm trying to place dowel holes where the quantity of the dowel holes depends on the length of an edge. The pattern works in the library part, but when I go to use it in and actual part, it sets the hole quantity at what is set when I create the library part.

This is my equation:

D1@CrvPattern1 = IIF ( "Length of Board@Sketch1" < = 4 , 2 , IIF ( "Length of Board@Sketch1" < = 24 , 3 , IIF ( "Length of Board@Sketch1" < = 36 , 4 , IIF ( "Length of Board@Sketch1" < = 54 , 4 , 5 ) ) ) )

 

The references in the library part are:

I need to find the length of edge 5 once picked and set it to "Length of Board@Sketch1" in the equation.

Can someone please explain how I can accomplish this? I've spent well over 20 hours trying different ways, and now it is just driving me nuts.

Library part attached.

Thanks

Attachments

Outcomes