Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help wanted] open floorspace.js file with cli #410

Open
wta12 opened this issue Feb 6, 2022 · 7 comments
Open

[help wanted] open floorspace.js file with cli #410

wta12 opened this issue Feb 6, 2022 · 7 comments

Comments

@wta12
Copy link

wta12 commented Feb 6, 2022

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) ?

@macumber
Copy link
Contributor

macumber commented Feb 6, 2022

What do you mean by open using a CLI or script? What are you trying to do?

@wta12
Copy link
Author

wta12 commented Feb 6, 2022

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.

@macumber
Copy link
Contributor

macumber commented Feb 7, 2022

Would this be for a custom app using FloorspaceJS or would you just want to open each model in a new browser tab?

@wta12
Copy link
Author

wta12 commented Feb 7, 2022

open each model in new browser tab is my preferred one. The custom app would be overkill for normal user (installation/maintenance).

@macumber
Copy link
Contributor

macumber commented Feb 9, 2022

How would you initiate opening a new browser tab? Double-clicking on a FloorspaceJS JSON file?

@wta12
Copy link
Author

wta12 commented Feb 20, 2022

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.

@DavidGoldwasser
Copy link
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants