Creating a family instance on a face from a link

Creating a family instance on a face from a link

itayP62BG
Observer Observer
771 Views
3 Replies
Message 1 of 4

Creating a family instance on a face from a link

itayP62BG
Observer
Observer

Hello,

I'm currently working on a project in Revit API, and I'm having some trouble creating a new family instance on a face from a linked model. Specifically, I'm trying to place a family on a face in a linked model, but I can't seem to make it work.

 

I'm using the NewFamilyInstance method but it doesn't work when I give it a linked face or a reference from this face

 

I would be glad if anyone has an answer to this issue.

 

Thanks

 

0 Likes
772 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

I know this has been discussed repeatedly in the past, so you ought to be able to find existing discussions and solutions yourself.

  

I searched this forum for "instance link" and found this:

  

  

Does it help? 

  

If not, I am sure there are several other relevant conversations to explore...

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 4

itayP62BG
Observer
Observer
Thanks for the quick answer,

This question doesn't really answer me because I'm looking to create the instance on a face and not a wall or any other element. I will look more in the forum

Thanks again
0 Likes
Message 4 of 4

jeremy_tammik
Alumni
Alumni

In the Revit BIM, all faces belong to some building element, e.g., a wall or some other host. So, if you place an instance on a face, you must be placing it on a wall or some other host element.

  

If this is unclear, please research your approach thoroughly in the end user interface, manually, without programming, and explore the optimal workflow and best practices in that environment first.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes