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

Method removeShadingZoneGroup

src/model/ShadowCalculation.cpp:274–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272 }
273
274 bool ShadowCalculation_Impl::removeShadingZoneGroup(unsigned groupIndex) {
275 if (auto _mo_list = getShadingZoneGroupModelObjectList(groupIndex)) {
276 _mo_list->removeAllModelObjects();
277 _mo_list->remove();
278 // ModelObjectList will remove any object it has, so have to clear it first
279 eraseExtensibleGroup(groupIndex);
280 return true;
281 }
282
283 return false;
284 }
285
286 void ShadowCalculation_Impl::removeAllShadingZoneGroups() {
287

Callers 1

TEST_FFunction · 0.80

Calls 2

removeAllModelObjectsMethod · 0.80
removeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64