I’m getting some unexpected behavior from the FamilyInstance.ByFace
This is the last step in a script that places ‘containers’ around structural elements. These are face-hosted generic models.
This seems to function as expected for various orientations with wide flange steel families, but when i try this with a tubular column, the family is placed at the incorrect orientation.
the script finds the expected surfaces for placement:
for the referenceDirection
input, i thought you’re supposed to provide the vector of the intended orientation of the family. In this case, both elements are provided the same referenceDirection
, but i get different outputs. I thought this function might be taking the local coordinate system into consideration, but the local X and Y vectors of the surface CS are similar.
thoughts?