How to handle tags in the saved view point with API ?

How to handle tags in the saved view point with API ?

chan_baek
Enthusiast Enthusiast
1,107 Views
4 Replies
Message 1 of 5

How to handle tags in the saved view point with API ?

chan_baek
Enthusiast
Enthusiast

Is there any API to handle tags? For example, Simply gets some kind of TAG Object or add tags, iterate tags, move to tagged views, etc..

 

It seems like Saved View Point has comments and tags conceptually. But, while you can add comments to savedviewpoint with AddComment method, in case of tags, there is no such kind of method or property in the saved view point class. Even in the entire document of Navisworks API documents, I can't find about tag things. I found that ViewControl class has Tag property. But, I think it is not about tags of saved view point.

 

Any help would be appreciated greatly, thanks.

0 Likes
Accepted solutions (1)
1,108 Views
4 Replies
Replies (4)
Message 2 of 5

naveen.kumar.t
Autodesk Support
Autodesk Support
Accepted solution

Hi @chan_baek ,

 

That's because there is nothing special about a tag, it is just a comment and a type of redline.

 

So when you use the "Tag" tool in NW, all you are doing is creating a normal redline and adding a comment to a saved viewpoint


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 5

chan_baek
Enthusiast
Enthusiast

Thanks, @naveen.kumar.t,

 

I understood that 'tag' is just one of redlines.

 

So, I tried to handle it by using API can handle redlines such as GetRedlines() method.

 

But, still I can't deal with any redlines consist of tags.

 

https://forums.autodesk.com/t5/navisworks-api/why-can-t-i-get-information-of-tags-by-getredlines-met...

 

If you have any advice about this too, Please let me know. 

I would be appreciated greatly, thanks.

0 Likes
Message 4 of 5

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @chan_baek ,

 

I checked with the NW engineering team for you.

Here is the response I received from them

 

It's because we never implemented returning the tag redlines in the JSON. That function to get the redlines as JSON was only ever really intended as an internal function. It looks like it only supports returning arrow, text, ellipse and line redlines but no tags, sorry


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

Message 5 of 5

chan_baek
Enthusiast
Enthusiast

Thank you for your helping.

 

That's fine if I can know it's possible or not clearly.

 

Thanks, again.

0 Likes