Customizing BIM Automation JOB

BIM Automation JOB can be customized. Users can add new materials and BIM templates to be used on BIM Automation command.
To do that, the default files folder from ARES Commander needs to be replaced on the environment so it will overwrite the original files from CLI server.

  1. Preparing the environment:

    1. Unpack the ZIP file from the environment

    2. Find the support folder, find BIM/Scripts and replace material_map.json to update the materials.

    3. Find BIM/Scripts/Templates and add your custom templates for BIM. Also, add this file to templates\bimautotemplates folder on the environment zip file.

    4. Zip the file.

  2. Update the configuration string

    1. On scriptvariables, "name": "BIM_input", update the value with the name of your BIM file (RVT or IFC)

    2. On scriptvariables, "name": "BIM_AUTO_TEMPLATE", update the value with the name of your BIM template file.

    3. Make sure "support":, "defaultfiles":, "folder": contains the location of the customized default files folder with the relative path from the Environment ZIP file.

Execute the JOB using this procedure ARES CLI - Execute bim2pdf Jobs via API .

"support": { "defaultfiles": { "folder": "support/df" } },

Configuration string sample

{ "Inputs": { "comment": "the input file format as uploaded on the ARESCLI portal Environment NOTE: should be same of script var BIM_input in the script section for this script", "inputfileformat": "ifc", "script": { "comment": "location and extension of the script as uploaded on the ARESCLI portal Environment. Also the variables used the script are defined in this section", "scriptpath": "script/custom_bim2pdf.scr", "scriptformat": "scr", "scriptvariables": [{ "name": "OUTPUTDIR", "value": "output/MyProject.dwg", "comment":"name of the desired output file, NOTE: this name should be same as the first name of the outputfilename(extension should be dwg) in Outputs section" }, { "name": "BIM_input", "value": "Myfile.ifc", "comment":"name of the rvt file as uploaded on the ARESCLI portal, NOTE:this is not the fileId" }, { "name": "BIM_AUTO_TEMPLATE", "value": "templates/bimautotemplates/ISO_A1_Landscape(1_100)_Header_wfields.dwg", "comment":"location of the bim templates in zip uploaded on the ARESCLI portal Environment" }] }, "support": { "defaultfiles": { "folder": "support/df" } }, "templates": { "comment": "location of the templates in zip and their extensions as uploaded on the ARESCLI portal Environment", "drawingtemplate": "templates/drawingtemplates/standardiso_m.dwt", "drawingtemplateformat": "dwt", "bimautotemplates": "templates/bimautotemplates/ISO-A1-Landscape_1-100_N.dwg", "bimautotemplatesformat": "dwg" } }, "Outputs": { "outputfileformat": "pdf", "outputfilename": "output/MyProject/MyProject.pdf", "outputfolder": "output", "comment": "name of the desired output file NOTE: the name of file without the extension should be same as the script var OUTPUTDIR for this bim2pdf script" } }

 



 

Â