MicroStation Connect Update 13
I am trying to control the version of the .imodel version being published with a script to 1.6 and not 2.0. It looks like the settings file I created and that is loaded is not supporting the imodel version output setting. Anyone have any ideas or solution for this issue before I file a ticket?
Mark Winegar said:I am trying to control the version of the .imodel version being published
What happens if you execute key-in PUBLISHDGN CREATEDGNDBIMODEL?
PUBLISHDGN CREATEDGNDBIMODEL
Regards, Jon Summers LA Solutions
it publishes to the latest version, 2.0. No way to control the version setting via keyin or settings file, at least nothing in the settings file that represents that the version is set to a certain version. So far I am unable to control the dialog through vba either.
Mark Winegar said:it publishes to the latest version, 2.0
OK, that seems to conform to the help topic, which mentions that key-in. It also mentions Bentley DgnDb iModel Importer version 1.5.x, But doesn't provide a key-in to invoke that importer.
looks like an option would be to run a command line statement to reach into PW, pull the .i.dgn, publish it to 1.6 and the push that back into PW. I see how to do it in the help doc noted in the MicroStation help topic.
so I can successfully publish a .i.dgn to .imodel but I cannot get it to log into PW and pull data down. Not sure what it is looking for in regards to "datasourcename" for the pwDatasource switch.
the keyin should be PUBLISHDGN CREATEDGNDBIMODEL 1.5
PUBLISHDGN
CREATEDGNDBIMODEL 1.5
this would set it to publish in version 1.5 and you can try running the keyin publishdgn publish force.
Mark Winegar said:it publishes to the latest version, 2.0. No way to control the version setting via keyin or settings file, at least nothing in the settings file that represents that the version is set to a certain version. So far I am unable to control the dialog through vba either.
Have you tried to use the configuration variables to load the settings file you want to use. There is the variable MS_PUBLISHDGN_DESIGNLINKS see the following:
https://docs.bentley.com/LiveContent/web/MicroStation%20Help-v15/en/GUID-4B45DC72-397C-5E99-74DE-C66937D56BE3.html
Hi David,
PUBLISHDGN CREATEDGNDBIMODEL 1.5 is responding with "The output file name must end with .imodel". The keyin is acting like that is the name of the file and now needs an extension before proceeding. Also the 1.5, 1.6 and 2.0 if usable are hidden in the keyin dialog. If I put anything behind the initial keyin it must have the file name and extension.
CREATEDGNDBIMODEL 1.5 is responding with "The output file name must end with .imodel". The keyin is acting like that is the name of the file and now needs an extension before proceeding. Also the 1.5, 1.6 and 2.0 if usable are hidden in the keyin dialog. If I put anything behind the initial keyin it must have the file name and extension.
I have not set the variable to define a default settings file. The issue at the moment is that the settings file is not honoring the version defined when the settings file is saved and then reloaded into the publish dialog.
Hi Mark,
Let me work with David and a few other colleagues to see if we can get the version to be honored.
Thanks,
Dan