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: 

Change category of FamilyInstance

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
gena.bayanov
1254 Views, 5 Replies

Change category of FamilyInstance

Hello!

Is it possible to programmatically change the category of FamilyInstace?

5 REPLIES 5
Message 2 of 6
jeremytammik
in reply to: gena.bayanov

No, I believe that is fixed by the family and connot be changed in the individual instance.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 6
gena.bayanov
in reply to: jeremytammik

Thanks you for answer.

But I mean, is it possible to programmatically repeat the same actions as the user interface: Select object, click Edit in-place, click Family categories and parameters and select different category?

Message 4 of 6
jeremytammik
in reply to: gena.bayanov

Yes, sure. Please note that you cannot manipulate in-place familes programmatically at all. If it is a standard family, however, you can use the Document.EditFamily method to open the family document for modification, and then reload it into the project again when you are done.

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 5 of 6
gena.bayanov
in reply to: jeremytammik

Ok. Thanks you!
Message 6 of 6
jeremytammik
in reply to: gena.bayanov

My pleasure entirely  🙂



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community