Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am not sure that this is not possible but at the moment I am getting errors that state that "element doesnt exist in the current document". That of course makes sense since I am trying to create an independant tag for the elements that are in the linked document. When I try calling that same method using a linked doc instead I get that View doesnt exist. Again that makes perfect sense too. Is there a way to achieve this. UI TagAll method allows for tagging elements in a linked model. Can that be done with API? Below is a small snippet from my Python based code. I am trying to execute an independant tag method here. Any advise?
else: for i, j in zip(elements, locationPts): location = toRvtPoint(j) tag = doc.Create.NewTag(views, i, False, TagMode.TM_ADDBY_CATEGORY, TagOrientation.Horizontal, location) tag.ChangeTypeId(tagTypeId) tags.append(tag)
Solved! Go to Solution.