Find offset/dimensions of duct fitting


#1

Hi,

I’m trying to extract the offset/dimensions shown in the attached picture of a duct transition fitting.
It’s a duct transition going from rectangular to round, and I would like to know the offset from the top of the rectangular duct to the top of the round duct - and also the offset from the left side of the rectangular duct to the left side of the round duct.

Is it possible to use Dynamo to extract these values and put them into a parameter in the family?


#2

No picture attached…


#3

12

Ok I have tried again. It’s a plan view and a section view.


#4

Dynamo can extract the diameter of the round duct, and the length and width parameters of the square duct. You can then subtract the diameter from the length and divide by two, and subtract the diameter from the width and divide by two, and then assign these to parameter values assigned to the family instance. Might be possible to read data from the connector as well but I’m not as sure about that.


#5

@JacobSmall
Thanks, but the problem is, that the round duct is not always placed in the center of the square duct, so it wouldn’t help dividing by two.

Do you have other suggestions?