Navisworks API

Reply
Valued Contributor
ProfWolfMan
Posts: 86
Registered: ‎04-21-2010
Message 1 of 4 (291 Views)

'unique id' / persistent id of modelitems

291 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
xiaodong.liang
Posts: 1,190
Registered: ‎06-12-2011
Message 2 of 4 (282 Views)

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
Posts: 61
Registered: ‎08-29-2007
Message 3 of 4 (201 Views)

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
xiaodong.liang
Posts: 1,190
Registered: ‎06-12-2011
Message 4 of 4 (178 Views)

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community