}
Handle(HYDROData_Document) HYDROData_Document::Document(
- const Handle(HYDROData_Entity)& theObject )
+ const TDF_Label& theObjectLabel )
{
Handle(HYDROData_Document) aResDoc;
- if ( theObject.IsNull() )
+ if ( theObjectLabel.IsNull() )
return aResDoc;
Handle(TDocStd_Document) anObjDoc;
try
{
- anObjDoc = TDocStd_Document::Get( theObject->Label() );
+ anObjDoc = TDocStd_Document::Get( theObjectLabel );
}
catch( ... )
{
aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_IMAGE );
aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_POLYLINE );
aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_BATHYMETRY );
+ aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_ALTITUDE );
aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_IMMERSIBLE_ZONE );
aRes = aRes && dumpPartitionToPython( aFile, aTreatedObjects, KIND_CALCULATION );