Automatic update IFC models
-
Hi,
Shot version:
- Does anyone know how I can get a list of all the file paths of the models in my Solibri model? Ex. with the help of an ITO?
- Does anyone else has a problem with the xml code line <autoupdatemodels/>?
Long version:
For some reason the xml code line <autoupdatemodels/> does not seem to work with my Solibri v. 9.13.4.19. Does anyone else have a problem with this code line?I want to update all the ifc models in my Solibri model every night. Today I do this with an xml, where I list all the filepaths and use the code line <updatemodel file=“C:…” for each model. Not very efficient when the models are replaced/changed ++.
So now my plan B is to create the xml (that updates the Solibri model) with the “<updatemodel…” lines that is also automatically updated, like this:
0. Open the Solibri model (#1 xml)- Automatically export an ITO with the filepaths (#1 xml)
- Create a script that translate the ITO to an xml with the “<updatemodel…” lines (script)
- Run the new xml that update all the correct filepaths. (#2 xml)
Hope someone can help me

S
-
I don’t know if I can help you, but I use this XML structure below to update models:
<?xml version=“1.0” encoding=“ISO-8859-1”?>
<batch name=“UPDATE MODELS” default=“root”><target name=“root”>
<openmodel file="C:..." /> <autoupdatemodels/> <savemodel file="C:..." /> <exit /></target>
</batch>And to make it run at night, I use the Task Scheduler to run a .bat file like this:
@ECHO off
ECHO Autorun operating…
ECHO Please wait…REM In the line below, you change the path to the SMC file for autorun.
“C:\Program Files\Solibri\SOLIBRI\Solibri.exe” “(xml path) C:…”exit
Copyright © 2025 Solibri Inc. | Powered by NodeBB