Navisworks API

Navisworks API

Reply
Valued Contributor
86 Posts
1 Kudo
Registered: ‎04-21-2010
Post 1 of 4

'unique id' / persistent id of modelitems

379 Views, 3 Replies
09-12-2012 11:51 PM

Hi all,

 

I am new to Navis.

Previously i am working with AutoCAD and vb.net.

 

How to identify 'unique id' (persistent) of modelitem as like handle in AutoCAD?

 

It looks very basic but i can not understand how navis handle this one?

 

Please advise me.

 

Thanks for looking.

Thanks & Regards,
G
ADN Support Specialist
1,352 Posts
81 Kudos
Registered: ‎06-12-2011
Post 2 of 4

Re: 'unique id' / persistent id of modelitems

09-18-2012 02:59 AM in reply to: ProfWolfMan

Hi,

 

Hope this blog answers your question:

 

http://adndevblog.typepad.com/aec/2012/06/persistent-item-id-of-navisworks-objects.html



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Valued Contributor
64 Posts
0 Kudos
Registered: ‎08-29-2007
Post 3 of 4

Re: 'unique id' / persistent id of modelitems

01-30-2013 02:42 AM in reply to: xiaodong.liang

Hi,

 

I have the same question regarding an unique identifier for modelobjects.

 

This blog suggests that Revit ElementID and Navisworks GUID are unique. The attachments show that for both ID's there are more objects with the same value.

 

If anyone knows how Navisworks identifies it's objects unique, please comment.

 

 

ADN Support Specialist
1,352 Posts
81 Kudos
Registered: ‎06-12-2011
Post 4 of 4

Re: 'unique id' / persistent id of modelitems

02-19-2013 02:22 AM in reply to: mdenheijer

hi,

 

I can only see display name of the ModelItem in your screenshots. Yes, they can be same. e.g. if you insert two blocks from the same block definition in DWG, you will get two model items with same display name. They are the name of the block definition and blocks. Only blocks have Entity Handle. From the attached snapshot, their Entity Handle are different, but display name are same. So, I think this is simialr to Revit file, i.e. different model items have same display name. 



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!