Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Assigning space types in sketchup

I'm trying to create a mechanism to easily assign space type to spaces. Seems the easiest way to do this would be to select a group of spaces within sketch up, run a measure/user script which has, as an input, a drop down list populated with all the space types available in the osm file. Whichever space type was selected from the list would then be assigned to the selected spaces.

All seems pretty straight forward, but I just want to verify a few things:

1) does something like this already exist?

2) I'm assuming this must be done in sketchup because it is the only way I can easily select specific spaces and apply a measure only to those spaces, is this the case? Am I missing a better approach?

3) Can user scripts have dynamic inputs, i.e. can i populate a drop down list based on the osm file objects available?

4) Which, if any, would be the best measures to cannibalize for this effort (I know next to nothing about any of this and need somewhere to start)

Assigning space types in sketchup

I'm trying to create a mechanism to easily assign space type to spaces. Seems the easiest way to do this would be to select a group of spaces within sketch up, run a measure/user script which has, as an input, a drop down list populated with all the space types available in the osm file. Whichever space type was selected from the list would then be assigned to the selected spaces.

All seems pretty straight forward, but I just want to verify a few things:

1) does something like this already exist?

2) I'm assuming this must be done in sketchup because it is the only way I can easily select specific spaces and apply a measure only to those spaces, is this the case? Am I missing a better approach?

3) Can user scripts have dynamic inputs, i.e. can i populate a drop down list based on the osm file objects available?

4) Which, if any, would be the best measures to cannibalize for this effort (I know next to nothing about any of this and need somewhere to start)

Assigning space types in sketchup

I'm trying to create a mechanism to easily assign space type types to spaces. Seems the easiest way to do this would be to select a group of spaces within sketch up, sketchup, run a measure/user script which has, as an input, a drop down list populated with all the space types available in the osm file. Whichever space type was selected from the list would then be assigned to the selected spaces.

All seems pretty straight forward, but I just want to verify a few things:

1) does something like this already exist?

2) I'm assuming this must be done in sketchup because it is the only way I can easily select specific spaces and apply a measure only to those spaces, is this the case? Am I missing a better approach?

3) Can user scripts have dynamic inputs, i.e. can i populate a drop down list based on the osm file objects available?

4) Which, if any, would be the best measures to cannibalize for this effort (I know next to nothing about any of this and need somewhere to start)

5) is there a guide to writing user scripts in sketch up? I'm having trouble getting new scripts to show up in the skecthup UI (I assume that all i have to do it put a script in "openstudio-2.3.0\SketchUpPlugin\openstudio\sketchup_plugin\user_scripts\Alter or Add Model Elements" but his does not seem to be working)