Placing a library part using the Revit Api
Posted
by ADAM
on Stack Overflow
See other posts from Stack Overflow
or by ADAM
Published on 2010-04-30T07:37:36Z
Indexed on
2010/05/06
1:28 UTC
Read the original article
Hit count: 363
I am using the revit api to import a family symbol. The code below is working however it loads the family into revit, and then you have to manually drag it from the familys tree or insert using the relevant family tool.
Document document = commandData.Application.ActiveDocument;
document.LoadFamilySymbol(fileName, name, out gotSymbol);
How do i get it to the point where it is asking the user where they want it placed? (similar to when you click "load into project" when you are editing a family) so they dont have to drag it from the familys tree
© Stack Overflow or respective owner