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

use openstudio API to clone object to the same parent object

I am using ModelObject:Clone to copy subsurfaces from a different osm model but noticed that it lost the hosting parent object in the new model, i.e. those subsurfaces no longer have it's surface, although the surface, subsurface name and handles are the same between the two models.

Is there a way to copy the subsurface only but keep the same parent object in the model?