MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / buildingUnit

Method buildingUnit

src/model/Space.cpp:681–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679 }
680
681 boost::optional<BuildingUnit> Space_Impl::buildingUnit() const {
682 return getObject<ModelObject>().getModelObjectTarget<BuildingUnit>(OS_SpaceFields::BuildingUnitName);
683 }
684
685 bool Space_Impl::setBuildingUnit(const BuildingUnit& buildingUnit) {
686 return this->setPointer(OS_SpaceFields::BuildingUnitName, buildingUnit.handle());

Callers 8

updateUserDataFunction · 0.45
createSpaceMethod · 0.45
mergeSpaceMethod · 0.45
updateFloorplanJSMethod · 0.45
modelFromThreeJSMethod · 0.45
CompareTwoModelsFunction · 0.45
TEST_FFunction · 0.45
GltfUserDataMethod · 0.45

Calls

no outgoing calls

Tested by 2

CompareTwoModelsFunction · 0.36
TEST_FFunction · 0.36