Automating IfcOptimizer ... Did you know?
-
Hey all!
Recently I have been talking to customers about the IFC Optimizer, and some asked if it is possible to automate the Optimizer a bit.
Answer: Yes, you can! The application can be executed via console commands so that you can easily create a batch file (on Windows). Just try something like this
for %%f in (*.ifc) do ( "c:\Program Files\Solibri\IFCOptimizer\Solibri IFC Optimizer.exe" -in="%cd%\%%f" -out="%cd%" )To make life easier, just extract StackOptimizer.bat from StackOptimizer.zip into the folder with your IFCs and execute. Additionally, I added a Readme.txt file, which contains a bit more information on how to use the console commands.
Have fun!
-
Hi everybody,
the StackOptimizer Cornelius shared with us is great and works perfectly on a local drive. Unfortunately it did not work in a folder on our server.
During the Solibri Society Event in Barcelona, Ibrahim Beqiri helped me out and changed the .bat-filein a way it does work when executed from a network-folder.
You just have to fill in the correct folder path in the bat-file. NetworkStackOptimizer.zip
The very smart thing about the original file is, that you could execute it from any (local) folder just like it is. When using the NetworkStackOptimizer you have to change the folder path to the actual folder where the ifc-files are.
It would be nice if anyone could improve the file in a way that it works from a networkfolder without having to adjust the folder path, Just optimizing the ifc-files in the folder where the bat-file is executed from.
Good luck,Best regards, Daniel
-
@cpreidel said in Automating IfcOptimizer ... Did you know?:
Hey all!
Recently I have been talking to customers about the IFC Optimizer, and some asked if it is possible to automate the Optimizer a bit.
Answer: Yes, you can! The application can be executed via console commands so that you can easily create a batch file (on Windows). Just try something like this
for %%f in (*.ifc) do ( "c:\Program Files\Solibri\IFCOptimizer\Solibri IFC Optimizer.exe" -in="%cd%\%%f" -out="%cd%" )To make life easier, just extract StackOptimizer.bat from StackOptimizer.zip into the folder with your IFCs and execute. Additionally, I added a Readme.txt file, which contains a bit more information on how to use the console commands.
Have fun!
Then i have another question about this thread as well.
Is it possible to run this feature in the same batch file as the Autorun batch file? So we can first optimize the files and in the same action they will update these files into the .smc file.
thanks.
Copyright © 2025 Solibri Inc. | Powered by NodeBB