How to find Versions which have multiple Masters?

Started by ubacher, October 09, 2018, 01:49:11 PM

Previous topic - Next topic

ubacher

I discovered I have some files which are versions with multiple masters. I know how to fix this
problem but I need to find these files. Is there some trick, some (sample?) app etc which will let me find
these files?

Mario

Hm, tricky.

The variable {File.Relations} returns the relation(s) of a file. If a file has two masters from different relation rules, this variable will contain more than one element, separated with ;
Maybe setup a data-driven category based on that variable and filter out everything that has no ; ?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

Quote..... this variable will contain more than one element, separated with ;

Tried it with vartoy, it contains only on relationship.

A script returns the value 10 for versionstate. (This is how I found out about the problem.)


Mario

QuoteTried it with vartoy, it contains only on relationship.

Strange. I get something like this for a file with two masters:

Collections|Relations|Version|Manual Version ; Collections|Relations|Version|AFDesign
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

My relations are screwed up. When I refresh relations and then propagate anew the problem disappears.
But to do this I need to find the problem files - Refreshing all relations would take too long I reckon.