tumcms / forge-bim360.project.setup.tool

command line application to setup BIM 360 projects in batch mode based on file input
https://www.cms.bgu.tum.de/
MIT License
5 stars 1 forks source link
autodesk-bim360 autodesk-data-management autodesk-forge bim360

forge-bim360.project.setup.tool

Platforms .NET

Data-Management BIM-360

Advanced MIT

Description

Command line tool to setup BIM 360 projects, services, users based on the forked BIM360-project-setup-tool. This version got extended by TUM CMS to provide a all-in-one solution to create and maintain several projects inside the BIM360 environment.

Custom functionalities based on CSV input file:

Prerequisites

Running locally

For advanced users

If you want to debug or run from Visual Studio instead of using the batch file, we recommend to set commandline-args inside the debug properties. You can use the following snippet and insert your credentials accordingly:

-c "<YOUR-FORGE-CLIENT-ID>" -s "<YOUR-FORGE-CLIENT-SECRET>" -a "<YOUR-BIM360-APP-KEY>" -p ".\sample\BIM360_Custom_Template.csv" -h "<YOURMAIL@mail.com>" -f ".\sample" -t "," -z "," -e "UTF-8" -d "yyyy-MM-dd"

Please check out the user guide for detailed explanations.

Tutorial video for Custom.bat

Running the application

Hot to use Custom.bat

Important notes on Custom.bat

Requirements on the CSV-File

If don't use the international version of Excel, there could be a problem by exporting the Excel sheet as a CSV-File.

The template should always be used as a reference. Here are the requirements:

If you didn't follow one of these rules the program will print the problem on the console and save it in the log files.

Features

features

This sample app includes a few features as detailed in User Guide, in short, please check the following video for the introduction, or follow the scripts directly to create projects, activate services, import project users.

https://youtu.be/dAIn9ANPYrE

Always replace the capitalized content in braces with your values before executing the script:

 "<YOUR-CLIENT-ID>" - e.g. "LI8CLkyS4zO4OIvRPW2nPzR2UHk0zU7"
 etc.

Feature 1: Create BIM360 projects:

Autodesk.BimProjectSetup.exe -p ".\sample\BIM360_Projects_Template.csv" -c "<YOUR-CLIENT-ID>" -s "<YOUR-CLIENT-SECRET>" -a "<ACCOUNT-ID>" -b "https://developer.api.autodesk.com" -t ";" -z "," -e "UTF-8" -d "yyyy-MM-dd" -r false

Watch the following video:

https://youtu.be/pU40CrG5Gys

Feature 2: Create BIM360 projects from template project:

Autodesk.BimProjectSetup.exe -p ".\sample\BIM360_Projects_CF_Template.csv" -c "<YOUR-CLIENT-ID>" -s "<YOUR-CLIENT-SECRET>" -a "<ACCOUNT-ID>" -b "https://developer.api.autodesk.com" -t ";" -z "," -e "UTF-8" -d "yyyy-MM-dd" -r false -h "admin@company.com" --CF

Watch the following video:

https://youtu.be/QTSUuhMqX7o

Feature 3: Activate Services by Adding User as Admin

Autodesk.BimProjectSetup.exe -s ".\sample\BIM360_Service_Template.csv" -c "<YOUR-CLIENT-ID>" -s "<YOUR-CLIENT-SECRET>" -a "<ACCOUNT-ID>" -b "https://developer.api.autodesk.com" -t ";" -z "," -e "UTF-8" -d "yyyy-MM-dd" -r false

Watch the following video:

https://youtu.be/iEz8cGIayeM

Feature 4: Add Users to Project as Admin or User

Autodesk.BimProjectSetup.exe -u ".\sample\BIM360_ProjectUser_Template.csv" -c "<YOUR-CLIENT-ID>" -s "<YOUR-CLIENT-SECRET>" -a "<ACCOUNT-ID>" -b "https://developer.api.autodesk.com" -t ";" -z "," -e "UTF-8" -d "yyyy-MM-dd" -r false -h "project.admin@company.com"

Watch the following video:

https://youtu.be/cXnvoOS_-Wk

Note: These template files used in the scripts are just samples which are defined in the spreadsheet structure for you to reference, all required fields must be filled in order for the tool to work properly, please refer the User Guide for the details.

Command Line Options

Packages 3rd party libraries used

Further Reading

Documentation:

Tips & Tricks

Limitation

Change History

All the changes will be tracked, please see the Change History file for full details.

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Written by