Converting internal indexes between drawings

2 posts in this topic



I have objects that reference others by an internal index. Basically it's a list of objects A that reference any other object (any type) named B by their internal index.

This reference is saved into a Sint32 Parameter.


When referencing this file into an other document (e.g. layer viewport), the references are broken because they assume the indexes remain the same, which they don't.

Is there any way to find out the new indexes relative to the other document so I can correct the internal indexes to their correct values? 

Edited by Hippocode

Share this post

Link to post
Share on other sites

The best/only way would be to attach a record and store a UUID (VS CreateUUID procedure) and then use that to either replace the internal index or to find the internal index. 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now