Взгляните на образец forge.commandline- nodejs. У него есть возможность загрузить пузырек OTG, а также показано, как настроить средство просмотра для его загрузки.
Вот пример получения OTG из элемента BIM360.
# Do authorization/authentication.
node forge.js 3legged auto
# Get the list of Hubs.
node forge.js hubs ls
# Get the list of projects.
node forge.js projects ls $hubid
# Get the Project tree information.
node forge.js projects tree $hubid $projectid
# Download the SVF Bubble
node forge.js bubble get $versionid ./bubbles/MyPath --otg
# Create an HTML page with your local URN
node forge.js html get /MyPath/$VERSION_NUMBER/bubble.json ./bubbles/output.html
# Start local server and load the HTML page.
open http://localhost:7124/output.html & PORT=7124 & node fluent-server/start.js ./bubbles/
Из README.md