User Activity

  • Modified a comment on discussion Help on IfcOpenShell

    Sorry about the late reply. Thomas is on the right track, although I did not quite manage to get this work, this should look like a decent starting point: for %%f in ("%*") do call .\IfcConvert.exe "%%~f" "%%~nf.stp" --add-some-param- -if-needed In this version I'm trying to replace the file extension instead of simply appending it to the original filename. Breaking %* to multiple filenames didn't quite work, so if you figure that out, the script should work.

  • Modified a comment on discussion Help on IfcOpenShell

    Sorry about the late reply. Thomas is on the right track, although I did not quite manage to get this work, this should look like a decent starting point: for %%f in ("%*") do call .\IfcConvert.exe --add-some-parameters-here-if-you-need "%%~f" "%%~nf.stp" In this version I'm trying to replace the file extension instead of simply appending it to the original filename. Breaking %* to multiple filenames didn't quite work, so if you figure that out, the script should work.

  • Modified a comment on discussion Help on IfcOpenShell

    Sorry about the late reply. Thomas is on the right track, although I did not quite manage to get this work, this should look like a decent starting point: for %%f in ("%*") do call .\IfcConvert.exe "%%~f" "%%~nf.stp" In this version I'm trying to replace the file extension instead of simply appending it to the original filename. Breaking %* to multiple filenames didn't quite work, so if you figure that out, the script should work.

  • Modified a comment on discussion Help on IfcOpenShell

    Sorry about the late reply. Thomas is on the right track, although I did not quite manage to get this work, this should look like a decent starting point: for %%f in ("%*") do call .\IfcConvert.exe "%%~f" "%%~nf.stp" Breaking %* to multiple filenames didn't quite work, so if you figure that out, the script should work.

  • Posted a comment on discussion Help on IfcOpenShell

    Sorry about the late reply. Thomas is on the right track, although I did not quite manage to get this work, this should look like a decent starting point: for %%f in ("%*") do call .\IfcConvert.exe "%%~f" "%%~nf.stp"

  • Modified a comment on discussion Help on IfcOpenShell

    A simple sketch for the batch file (create to the same folder where IfcConvert resides): .\IfcConvert.exe %* output.stp pause %* means that all the arguments of the batch file are passed on as is. For multiple input files you need to break %* into multiple filenames and invoke IfcConvert with a unique output filename in a for-loop for each input file.

  • Posted a comment on discussion Help on IfcOpenShell

    A simple sketch for the batch file (create to the same folder where IfcConvert resides): .\IfcConvert.exe %* output.stp pause %* means that all the arguments of the batch file are passed on as is. For multiple input files you need to break %* into multiple filenames and invoke IfcConvert for each file with a unique outpout filename in a for-loop

  • Modified a comment on discussion Help on IfcOpenShell

    Hi, Can you confirm that what you wrote are the actual commands? The line breaks seem off. The usage should be: IfcConvert [options] <input.ifc> [<output>] So in your case something like: C:\PROXSYS\ifcconvert>IfcConvert.exe test.ifc test.igs As for your second question, yes, it is possible for a single file, but currently requires changing this line https://github.com/IfcOpenShell/IfcOpenShell/blob/master/src/ifcconvert/IfcConvert.cpp#L52 and recompiling IfcConvert yourself. Better way would be...

View All

Personal Data

Username:
stinkfist0
Joined:
2015-06-09 11:18:24
Location:
Espoo / Finland / EEST
Gender:
Male
Web Site:
  1. https://github.com/Stinkfist0

Projects

  • No projects to display.

Personal Tools