Skip to content

downloadBriefcase by change set or index. #5862

Answered by nick4598
beolson asked this question in General
Discussion options

You must be logged in to vote

Hi,
I agree with you that the 'afterChangeSetId' property is a bit confusing. Looking at the code, calling IModelVersion.asOfChangeSet(changesetId: string) will populate the 'afterChangeSetId' property, and that specific function has this as the comment describing it:

/** Describes a version of the iModel by the last change set that needs
to be applied or merged to the iModel.
Note that all ChangeSets up to and and including the specified ChangeSet
needs to be applied.
If the changesetId is an empty string, it is assumed to be the first version
before any change sets have been applied.
*/

Therefore the afterChangeSetId property will pull down the changeset that you pass in. I will add a…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by beolson
Comment options

You must be logged in to vote
1 reply
@nick4598
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants