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: 

How to change fittings 's family by use API?

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
1240904365
593 Views, 3 Replies

How to change fittings 's family by use API?

HI,NewTeeFitting() will create a  fittings in default family,how can i create a fittings in custom family?

3 REPLIES 3
Message 2 of 4
jeremytammik
in reply to: 1240904365

There are probably several different ways to achieve this.

 

  • Insert the fittings first using NewFamilyInstance and then add the ductwork between them by connecting them
  • Change the family symbol of the existing fittings
  • Modify the MEP routing preferences

 

There are probably more ways besides.

 

Please explore your options in the user interface before attempting to program a solution.

 

You should always research the optimal workflow and best practices to address your task at hand manually through the user interface first.

 

To do so, please discuss and analyse it with an experienced application engineer, product usage expert, or product support.

 

Once you have got that part sorted out, it is time to step up into the programming environment.

 



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

Message 3 of 4
1240904365
in reply to: jeremytammik

hi,i am writing a program so i have to solve this problem by RevitApi,Can you elaborate how to Modify the MEP routing preferences by RevitApi?Thanks for your help

Message 4 of 4
jeremytammik
in reply to: 1240904365

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

Post to forums  

Rail Community


Autodesk Design & Make Report