Is there a simple way to provide the user to create an instance of a certain familysymbol with the visualization that Revit provides?

Is there a simple way to provide the user to create an instance of a certain familysymbol with the visualization that Revit provides?

EyalRELJT
Participant Participant
330 Views
1 Reply
Message 1 of 2

Is there a simple way to provide the user to create an instance of a certain familysymbol with the visualization that Revit provides?

EyalRELJT
Participant
Participant

Hello!
I am trying to create a button that allows the user to place a certain family in the model (of a generic model).
I want to do it just like Revit does it when user create the element directly from the application (as in the attached image).

EyalRELJT_0-1682854533965.png


Is there a simple and direct way to do this?
Thanks!

 

0 Likes
Accepted solutions (1)
331 Views
1 Reply
Reply (1)
Message 2 of 2

manuel.solis.lopez
Contributor
Contributor
Accepted solution

You can use the method PromptForFamilyInstancePlacement() from the UIDocument.