First time here? Check out the Help page!
1 | initial version |
This will return a value if the definition has a value for this field, but otherwise the optional will be empty.
peopleDefinition.peopleperSpaceFloorArea.get
This will return a value regardless of which input field use used for the definition, but you do have to pass it the are to use of the calculation.
peopleDefinition.getPeoplePerFloorArea
Use the link provided in @Eric Ringold's answer for more options for this definition.
2 | No.2 Revision |
This will return a value if the definition has a value for this field, but otherwise the optional will be empty.
empty.
peopleDefinition.peopleperSpaceFloorArea.get
This will return a value regardless of which input field use used for the definition, but you do have to pass it the are to use of the calculation.
peopleDefinition.getPeoplePerFloorArea
Use the link provided in @Eric Ringold's answer for more options for this definition.
3 | No.3 Revision |
This will return a value if the definition has a value for this field, but otherwise the optional will be empty. Putting it in an if statement protects against the ruby error if the optional is empty.
if peopleDefinition.peopleperSpaceFloorArea.is_initialized
peopleDefinition.peopleperSpaceFloorArea.get
end
This will return a value regardless of which input field use used for the definition, but you do have to pass it the are to use of the calculation.
peopleDefinition.getPeoplePerFloorArea
Use the link provided in @Eric Ringold's answer for more options for this definition.
4 | No.4 Revision |
This "peopleperSpaceFloorArea." will return a value if the definition has a value for this field, but otherwise the optional will be empty. Putting it in an if statement protects against the ruby error if the optional is empty.
if peopleDefinition.peopleperSpaceFloorArea.is_initialized
peopleDefinition.peopleperSpaceFloorArea.get
end
This "getPeoplePerFloorArea" will return a value regardless of which input field use used for the definition, but you do have to pass it the are to use of the calculation.
peopleDefinition.getPeoplePerFloorArea
Use the link provided in @Eric Ringold's answer for more options for this definition.
5 | No.5 Revision |
"peopleperSpaceFloorArea." "peopleperSpaceFloorArea" will return a value if the definition has a value for this field, but otherwise the optional will be empty. Putting it in an if statement protects against the ruby error if the optional is empty.
if peopleDefinition.peopleperSpaceFloorArea.is_initialized
peopleDefinition.peopleperSpaceFloorArea.get
end
"getPeoplePerFloorArea" will return a value regardless of which input field use used for the definition, but you do have to pass it the are to use of the calculation.
peopleDefinition.getPeoplePerFloorArea
Use the link provided in @Eric Ringold's answer for more options for this definition.
6 | No.6 Revision |
"peopleperSpaceFloorArea" will return a value if the definition has a value for this field, but otherwise the optional will be empty. Putting it in an if statement protects against the ruby error if the optional is empty.
if peopleDefinition.peopleperSpaceFloorArea.is_initialized
peopleDefinition.peopleperSpaceFloorArea.get
end
"getPeoplePerFloorArea" will return a value regardless of which input field use used for the definition, but you do have to pass it the are floor to use of the calculation.
peopleDefinition.getPeoplePerFloorArea
peopleDefinition.getPeoplePerFloorArea(area)
Use the link provided in @Eric Ringold's answer for more options for this definition.