openstudiocore/sketchup_plugin/openstudio/sketchup_plugin/user_scripts/Visualization/Find_Spaces_By_Space_Type.rb
# returns a vector of arguments, the runner will present these arguments to the user
# then pass in the results on run
returns a vector of arguments, the runner will present these arguments to the user
then pass in the results on run
returns a vector of arguments the runner will present these arguments to the user then pass in the results on run
def arguments(model)
    result = OpenStudio::Ruleset::OSArgumentVector.new
    space_type_name = OpenStudio::Ruleset::makeChoiceArgumentOfWorkspaceObjects("space_type_name", "OS_SpaceType".to_IddObjectType, model, true)
    space_type_name.setDisplayName("Space Type")
    result << space_type_name
    return result
  end
def arguments ( model ) result = OpenStudio :: Ruleset :: OSArgumentVector . new space_type_name = OpenStudio :: Ruleset :: makeChoiceArgumentOfWorkspaceObjects ( "space_type_name" , "OS_SpaceType" . to_IddObjectType , model , true ) space_type_name . setDisplayName ( "Space Type" ) result << space_type_name return result end
returns a vector of arguments, the runner will present these arguments to the user
then pass in the results on run
returns a vector of arguments the runner will present these arguments to the user then pass in the results on run
model
<not_specific>