How can I insert a family (CurveBased) with NewFamilyinstance on one side and be linked to it (Host)?
I have the face of the element with its reference.
The starting point of the face, which coincides with the insertion point
A line that I believe from this point in X direction
With this data I've tried the 2 methods of this function and none of them keep the family associated with the face:
NewFamilyInstance Method (Face, Line, Family Symbol)
NewFamilyInstance Method (Reference, Line, FamilySymbol) ** This should maintain the associativity.
I manage to insert it, but it is not associated (Host) to the indicated face.
If the family I insert is based on plane it does work with:
NewFamilyInstance (Reference, ptIns, dirX, symFin)
Thank you. Thank you.
Hi, Alberto!
Can it be done via UI? I'm not sure, that curve based families can be hosted. If it cannot be achieved via UI, it also cannot be achieved via API...
Hello AlbertoTorres,
your problem sound similar to one of my I had recently. I had to connect and orientate a grill on a round duct (CurveBased ->CylindricalFace)
Maybe this link can help you:
Best regards,
Manuel
Hi, Manuel!
Is your grill family CurveBased? I am pretty sure that it is based on face and it's location is point, not curve. I am almost sure, that curved based families can't be hosted on the face...
Can't find what you're looking for? Ask the community or share your knowledge.