void HYDROData_CalculationCase::RemoveRegions()
{
ClearReferenceObjects( DataTag_Region );
- myLab.FindChild( ChildTag_Region ).ForgetAllAttributes( true );
+ myLab.FindChild( DataTag_ChildRegion ).ForgetAllAttributes( true );
}
Handle(HYDROData_Region) HYDROData_CalculationCase::addNewRegion()
{
- TDF_Label aNewLab = myLab.FindChild( ChildTag_Region ).NewChild();
+ TDF_Label aNewLab = myLab.FindChild( DataTag_ChildRegion ).NewChild();
Handle(HYDROData_Region) aNewRegion =
Handle(HYDROData_Region)::DownCast( HYDROData_Iterator::CreateObject( aNewLab, KIND_REGION ) );