- Handle(HYDROData_Entity) anObject = aSeq.Value( anIndex );
- if( !anObject.IsNull() )
- {
- aFullSeq.Append( anObject );
- aFullNames.append( anObject->GetName() );
-
- // collect the back-references
- ObjectKind aKind = anObject->GetKind();
- if( aKind == KIND_IMAGE || aKind == KIND_POLYLINEXY )
- {
- HYDROData_SequenceOfObjects anObjects;
- QStringList aNames;
- HYDROGUI_Tool::GetObjectBackReferences( module(), anObject, anObjects, aNames );
- aFullSeq.Append( anObjects );
- aFullNames.append( aNames );
- }
- }