Message 1 of 6
Not applicable
01-19-2021
12:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @Anonymous ,
Are you looking for this?
https://forums.autodesk.com/t5/revit-api-forum/tagging-linked-elements-using-revit-api/td-p/8669001
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.
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.
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.
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