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: 

place a family instance on a linked host

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
1023 Views, 4 Replies

place a family instance on a linked host

OK, so I've been working on attempting to replicate Revit's copy monitor functionality with no success. Has anyone managed to place and instance of a family on a face when that face is within a linked model? I've already tried implementing many different versions of CreateLinkReference and as of yet have not been able to get it to work. Each time, the exception produced is:

  • $exception {"Family cannot be placed as hosted on an input face reference, because its FamilyPlacementType is not WorkPlaneBased\r\nParameter name: symbol"} System.Exception {Autodesk.Revit.Exceptions.ArgumentException}

This is interesting as the FamilyPlacementType is in fact WorkPlaneBased so I'm sure it must be an error with the hosting mechanism that I'm unaware of. Any help would be appreciated!!!

A code dump for anyone interested is located on StackOverflow: http://stackoverflow.com/questions/28387888/place-a-family-instance-on-a-linked-host

4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

also, if anyone needs unit test info, or example files please let me know and I'll gladly supply - hopefully, someone can give me a hand...

Message 3 of 5
Anonymous
in reply to: Anonymous

Dear psmith

    Recently, I also think about this problem, I would like to know that you find a solution to it?

Message 4 of 5
Charles.Piro
in reply to: Anonymous

Hello,

 

what's your Revit Version ?

 

Before, I have the same problem with Revit 2015 but since Release R2, it's ok.

In the family, the option "WorkPlane based"must be uncheck.

 

Smiley Wink



PIRO Charles
Developer

PIRO CIE
Linkedin


Message 5 of 5
Anonymous
in reply to: Anonymous

Unfortunately no - sorry about that!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report