place a family instance on a linked host

place a family instance on a linked host

Anonymous
Not applicable
1,393 Views
4 Replies
Message 1 of 5

place a family instance on a linked host

Anonymous
Not applicable

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

0 Likes
1,394 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

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

0 Likes
Message 3 of 5

Anonymous
Not applicable

Dear psmith

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

0 Likes
Message 4 of 5

Charles.Piro
Advisor
Advisor

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


0 Likes
Message 5 of 5

Anonymous
Not applicable

Unfortunately no - sorry about that!

0 Likes