Enum VersionGatheringOption

Enum VersionGatheringOption

Anonymous
Not applicable
464 Views
3 Replies
Message 1 of 4

Enum VersionGatheringOption

Anonymous
Not applicable

Is there a better explanation for VersionGatheringOption Enumeration "Actual" than in the Vault 2015 SDK help? The description for "Actual" is "Gathers the actual version for the relationship". Is this the same as "Latest". Maybe someone has a better handle on this and can explain it better. Does "Latest" just get the latest "released" version?

 

Thanks for any help on this.

0 Likes
465 Views
3 Replies
Replies (3)
Message 2 of 4

smithmat
Autodesk
Autodesk

When you check in a file, you indicate what dependents it has (and you specify a specific version).  So, Consider the following:

1. you checkin version 2 of A (A2) and it references version 3 of B (B3).

2. you modify B and check in version 4 (B4).

 

Now, when you gather relationships, if you choose "Actual" you will get:

A2->B2

 

However, if you chose "Latest" you would get 

A2->B4

 

Hope that helps,

- Matt

0 Likes
Message 3 of 4

Anonymous
Not applicable

Do I also need to set the ReleasBiased Enum to False for "Latest" to work like that?

0 Likes
Message 4 of 4

smithmat
Autodesk
Autodesk

ReleaseBiased means: prefer a released (or sometimes called consumable) version

 

This can be set to true when using "Latest" or "Revision" based gathering (it has no effect for "Actual").

 

For "Latest" gathering, I believe it will have no effect if there is no released/consumable version in the latest revision.  If there is a released/consumable version in the latest revision, then it will give back that version rather than the latest version.

 

- Matt

0 Likes