X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_Profile.sip;h=e67faaea7759c13d080875ba1c55cd3f76e2c120;hb=58bb6b7459bebeeb089c9ed486c4683a8bae7288;hp=c5b91a60228649e33f3760e4e662592528187ac2;hpb=a0f46af000e5038df100106897aa04901ad59e49;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_Profile.sip b/src/HYDROPy/HYDROData_Profile.sip index c5b91a60..e67faaea 100644 --- a/src/HYDROPy/HYDROData_Profile.sip +++ b/src/HYDROPy/HYDROData_Profile.sip @@ -172,13 +172,14 @@ public: */ static int ImportFromFile( HYDROData_Document theDoc, const TCollection_AsciiString& theFileName, - NCollection_Sequence& theBadProfilesIds ) + NCollection_Sequence& theBadProfilesIds, + bool isToProject = true ) [int ( const opencascade::handle&, const TCollection_AsciiString&, NCollection_Sequence& )]; %MethodCode Py_BEGIN_ALLOW_THREADS - sipRes = HYDROData_Profile::ImportFromFile( a0, *a1, *a2 ); + sipRes = HYDROData_Profile::ImportFromFile( a0, *a1, *a2, a3 ); Py_END_ALLOW_THREADS %End @@ -189,7 +190,8 @@ public: * \return \c true if file has been successfully read */ virtual bool ImportFromFile( const TCollection_AsciiString& theFileName, - bool* theIsRead = 0 ); + bool isToProject = true, + bool* isNotEmpty = 0 ); protected: /**