using Automation interface to 'Reconcile model'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
using Automation interface to 'Reconcile model'
Hello,
I have a issue in using Automation interface to 'Reconcile model' using vbscript error.
I am using below coomand but getting error( cannot use parenthesis when calling a sub):
---------------------
Set objManager = CreateObject("Studio.ModelManager")
objManager.ReconcileModel("\\SQL\MyServer@MODELER\MyDatabase\MyModel\0.0.1","C:\MyLogFiles\MyLogFile.txt")
-----------------
When i remove parenthesis, get a error ( wrong number of arguments or invalid property assignment).
your feedback is appreciated.
Thanks,
- Labels:
-
Modeler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I've moved this to a new thread, it should not have been posted in the previous thread as it's not related.
If you have a Support contract, you can raise with them for assistance with this.
regards, Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Here are some helpful articles:
- "Integrity Modeler Reconcile or Rebase process will fail if the model contains a property whose definition has been removed": https://www.ptc.com/en/support/article/CS348176
- "When an integrity Modeler Reconcile is carried out which versions of the Model are compared": https://www.ptc.com/en/support/article/CS299712
- "Removing an Integrity Modeler temporary model version after a failed reconcile": https://www.ptc.com/en/support/article/CS262764
- "Permissions required to reconcile or rebase a model in Integrity Modeler": https://www.ptc.com/en/support/article/CS305230
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The problem is not when i reconcile through 'Model explorer' but when i do it using Automation interface custom script . using the below VBS script. I am unable to pass two parameters. it says not to use parenthesis if i remove ,it says wrong number of parameters.
Set objManager = CreateObject("Studio.ModelManager")
objManager.ReconcileModel("\\SQL\MyServer@MODELER\MyDatabase\MyModel\0.0.1","C:\MyLogFiles\MyLogFile.txt")
urgent!!
Thanks,
