Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!

API IndependentTag.Create() is slow

When using IndependentTag.Create() from the API, the process for each run of this command takes much longer than it should have to (on a large model it's taking 20-30 seconds per tag). This impacts our workflows and time spent doing a relatively simple process. This API function worked seamlessly in Revit 2016 and below, but something changed in the code that negatively impacted it.

Comentarios
Explorer
Explorer

This still is the case... I notice it too. I want to add tags of ~1000 walls to ~3 views and I can't afford to wait for ~16 hours to complete the script. 

It regenerates the graphics for every tag... 

 

BTW: I like the fact that the text "Add tags" below your post is the title of your post as well as a function of this forum. 

Explorer
Explorer

This is still the case entering last quarter of 2022.  No matter how i try to set it up with loops and transactions this process takes insanely long time. I can't seem to find another way of creating a tag through the API.

Enthusiast
Enthusiast

Just came across this issue as well. In my case, activating the owner view before creating the tags seems to solve the problem.