- /*static int ImportFromFile( HYDROData_Document theDoc,
- const TCollection_AsciiString& theFileName,
- NCollection_Sequence<int>& theBadProfilesIds )
- [int ImportFromFile( const Handle(HYDROData_Document)& ,
- const TCollection_AsciiString& ,
- NCollection_Sequence<int>& )];
- MethodCode
- Handle(HYDROData_Document) aRef =
- Handle(HYDROData_Document)::DownCast( createHandle( a0 ) );
- if ( !aRef.IsNull() )
- {
- Py_BEGIN_ALLOW_THREADS
- sipRes = sipSelfWasArg ? sipCpp->HYDROData_Profile::ImportFromFile( aRef, a1, a2 ):
- sipCpp->ImportFromFile( aRef, a1, a2 );
- Py_END_ALLOW_THREADS
- }
- End
-*/
+ static int ImportFromFile( HYDROData_Document theDoc,
+ const TCollection_AsciiString& theFileName,
+ NCollection_Sequence<int>& theBadProfilesIds,
+ bool isToProject = true )
+ [int ( const opencascade::handle<HYDROData_Document>&,
+ const TCollection_AsciiString&,
+ NCollection_Sequence<int>& )];
+ %MethodCode
+ Py_BEGIN_ALLOW_THREADS
+ sipRes = HYDROData_Profile::ImportFromFile( a0, *a1, *a2, a3 );
+ Py_END_ALLOW_THREADS
+ %End
+