void HYDROData_Region::RemoveZones()
{
ClearReferenceObjects( DataTag_Zone );
- myLab.FindChild( ChildTag_Zone ).ForgetAllAttributes( true );
+ myLab.FindChild( DataTag_ChildZone ).ForgetAllAttributes( true );
}
Handle(HYDROData_Zone) HYDROData_Region::addNewZone()
{
- TDF_Label aNewLab = myLab.FindChild( ChildTag_Zone ).NewChild();
+ TDF_Label aNewLab = myLab.FindChild( DataTag_ChildZone ).NewChild();
Handle(HYDROData_Zone) aNewZone =
Handle(HYDROData_Zone)::DownCast( HYDROData_Iterator::CreateObject( aNewLab, KIND_ZONE ) );