Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Insert a family (CurveBased) with NewFamilyinstance associated to the face.

3 REPLIES 3
Reply
Message 1 of 4
AlbertoTorres
645 Views, 3 Replies

Insert a family (CurveBased) with NewFamilyinstance associated to the face.

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.

 

 

 

3 REPLIES 3
Message 2 of 4
aignatovich
in reply to: AlbertoTorres

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...

Message 3 of 4

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:

 

https://forums.autodesk.com/t5/revit-api-forum/how-to-orientate-a-grille-on-a-round-duct-programmati...

 

 

Best regards,

Manuel

 

 

 

Message 4 of 4
aignatovich
in reply to: Rudolph.mh09

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.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community