Kambiz,
A question to unique ID and file merging:
Will the new objects merged into a given Graph gets all new ID's then?
Or how does it work?
HPW wrote:No they can/do not keep their value, it would be impossible to have 2 equal ID in one Graph. So when you have 3 node with ID 1,2,3 and you reimport them with merge you end up with 4,5,6. They are DWORD's(4 Bytes=32BIT 0..4294967295)
On copy/merge each node-ID is incremented until it finds a free number.
So copy node 3 will become 4 but ony when free. When 4+5 is in use it becomes 6.
When you want GUID's then you could store them with the new customdata. But only when you want to have a copied node to have the same GUID as his original.
Are these IDs used internaly by the library? Or they are just there for end-user use?
HPW wrote:And there are new function like 'FindObjectByID' which are very usefull to access a special node.
Return to DELPHI AREA Projects
Users browsing this forum: No registered users and 1 guest