What factors are related to the performance of NewTeeFitting()?

What factors are related to the performance of NewTeeFitting()?

1240904365
Enthusiast Enthusiast
502 Views
2 Replies
Message 1 of 3

What factors are related to the performance of NewTeeFitting()?

1240904365
Enthusiast
Enthusiast

Each time NewTeeFitting() takes 500ms, I would like to know the factors that affect the performance besides the number of model elements.

0 Likes
Accepted solutions (1)
503 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

So would I, and maybe others as well.

 

I would expect the behaviour and performance of NewTeeFitting to match the corresponding functionality in the end user interface, so you might also want to discuss this in the Revit MEP forum from an end user point of view.

 

Apart from that, I would suggest that you set up some benchmarking code, run tests in various models, and let us know what you find out. 

 

Thank you!

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

1240904365
Enthusiast
Enthusiast
Accepted solution

Found the reason, modify the pipe 's RoutingPreferenceManager will cause 5 times slower when creating pipe fittings

0 Likes