Open wta12 opened 2 years ago
What do you mean by open using a CLI or script? What are you trying to do?
when you have multiple floorspaceJS files , opening a few of them through import wizard of web interface is inconvenient since we need to open each file manually. It's much easier if there is a way to open a specific file or list of files programmatically.
Would this be for a custom app using FloorspaceJS or would you just want to open each model in a new browser tab?
open each model in new browser tab is my preferred one. The custom app would be overkill for normal user (installation/maintenance).
How would you initiate opening a new browser tab? Double-clicking on a FloorspaceJS JSON file?
Initially, I would put all of input files in a list. Open new browser tab could be done with JS script or automation API. One of issues would be displaying the full name of files.
@wta12 not sure if this would work for your use. If you don't want to edit the FloorSpaceJS but just convert it to an OSM, you can run the merge_floorspace_js_with_model measure as part of a workflow with the OpenStudio CLI.
Is there any way to open existing floorspace.js file using CLI/script instead of manually open from web wizard then open particular view (component instead of space) ?