Tag Elements for RVT Link

Tag Elements for RVT Link

Anonymous
Not applicable
802 Views
5 Replies
Message 1 of 6

Tag Elements for RVT Link

Anonymous
Not applicable

Hi,,

How to tag Elements for RVT Link when moving linked files?

0 Likes
Accepted solutions (3)
803 Views
5 Replies
Replies (5)
Message 2 of 6

naveen.kumar.t
Autodesk Support
Autodesk Support
Accepted solution

Hi @Anonymous ,

Are you looking for this?

https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/td-p/8669001 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 6

Anonymous
Not applicable
Accepted solution

Hi 

 

I have referenced the code as the link you gave, but the problem here is that when I move the file link to another location, I add a new tag to the object, the tag does not follow the object. Do you know why? In my opinion, I get CreatereferneceLink wrong.

 
 

 

 

 

 

0 Likes
Message 4 of 6

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @Anonymous ,

Sorry, I am unable to understand clearly what you are trying to do.


Using the code present in the link, I am able to create a tag for linked elements present in the linked file.


Let's say I have 4 walls in the linked file. I am able to create 4 tags for 4 walls present in the linked file. Now when I move the linked file from one place to another the tags also move along with the linked walls.


Make sure the tag is not pinned. If the tag is pinned, then moving the linked file/wall won't move the tag.


If this is not what you want, could you please explain what you are trying to do?


If you are doing it programmatically, please be aware that the Revit API hardly ever supports any functionality that is not also available in the user interface. Therefore, if the UI does not support this, the API will probably not do so either.


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 5 of 6

Anonymous
Not applicable
Accepted solution

Hi  

Let's say you have 4 walls in the linked file.

You follow the steps as follows:

Step 1: You try to move this linked file set to another location

Step 2: you start to create tags for 4 walls present in the linked file

 then you will see that the Tags will not follow the 4 walls. That's what I want to ask you.

0 Likes
Message 6 of 6

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @Anonymous ,

Can you please provide a minimal reproducible case for the development team and others to analyze?

https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes