Snapshot Creation #126
-
Hi, I am trying to create a snapshot from iModel file. Found Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The Your error message suggests that the iModel that you are trying to copy has a password or encryption key protecting its contents. The first step would be to confirm whether or not that is true. |
Beta Was this translation helpful? Give feedback.
The
createFrom()
API takes anIModelDb
parameter (an open iModel) instead of a file name to ensure that you have permission to open the file before allowing its contents to be copied. You would just call one of the open methods on the seed file before passing the returnedIModelDb
intocreateFrom()
.Your error message suggests that the iModel that you are trying to copy has a password or encryption key protecting its contents. The first step would be to confirm whether or not that is true.