DATAKIT API  V2025.1
xmtw_psk.hpp
Go to the documentation of this file.
1 #ifndef __INIT_WRITE_XMT
2 #define __INIT_WRITE_XMT
3 
5 namespace xmtw
6 {
7 
16  Dtk_ErrorStatus InitWrite(const Dtk_string &inFileName, const Dtk_string& inLogFile,const Dtk_string &inSchemaPath,Licence_dtk inLicFct,Dtk_Int32 inMode =0 );
24  DtkErrorStatus WriteEntity( const Dtk_EntityPtr &inEntity, Dtk_string &inFileName,Dtk_Char8 inType = 'T',Dtk_Int32 inTransmitversion=100);
41  Dtk_bool bSewing = DTK_TRUE,
42  Dtk_Double64 tolmin = 0.01,
43  Dtk_Double64 tolmax = 0.05);
55  Dtk_bool inSewing = DTK_TRUE,
56  Dtk_Double64 intTolmin = 0.01,
57  Dtk_Double64 inTolmax = 0.05,
58  Dtk_Int32 inIterationNumber = 3);
59 
70  Dtk_ErrorStatus EndWrite(const Dtk_UChar8 &inMode='T',Dtk_Int32 inTransmitversion=100);
73  void SetIsAlreadyStart(const Dtk_Int32& inValue);
74 
75 
76 }
77 
78 
79 #endif
80 
xmtw::AddIds
Dtk_ErrorStatus AddIds(Dtk_tab< Dtk_ID > &inTabIDs)
Adds identifiers for writing in output parasolid file.
DTK_TRUE
#define DTK_TRUE
Definition: define.h:727
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:58
Dtk_bool
char Dtk_bool
Definition: define.h:725
Dtk_Double64
double Dtk_Double64
Definition: define.h:699
xmtw::SetIsAlreadyStart
void SetIsAlreadyStart(const Dtk_Int32 &inValue)
Set inValue = -1 if you ever start a parasolid Session
xmtw::EndWrite
Dtk_ErrorStatus EndWrite(const Dtk_UChar8 &inMode='T', Dtk_Int32 inTransmitversion=100)
Creation of the output file and free the Parasolid Writer
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:687
Dtk_Char8
char Dtk_Char8
Definition: define.h:697
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_SmartPtr< Dtk_Entity >
Dtk_UChar8
unsigned char Dtk_UChar8
Definition: define.h:698
xmtw::InitWrite
Dtk_ErrorStatus InitWrite(const Dtk_string &inFileName, const Dtk_string &inLogFile, const Dtk_string &inSchemaPath, Licence_dtk inLicFct, Dtk_Int32 inMode=0)
Initialize the Parasolid Writer
xmtw
Exported APIs for XMT Write Library.
Definition: xmtw_psk.hpp:6
Dtk_tab
This is a high level array class.
Definition: util_stl_dtk.hpp:85
xmtw::WriteEntity
DtkErrorStatus WriteEntity(const Dtk_EntityPtr &inEntity, Dtk_string &inFileName, Dtk_Char8 inType='T', Dtk_Int32 inTransmitversion=100)
Write the entity provided in parameter.and generates a parasolid file.
Licence_dtk
char *(* Licence_dtk)(char *)
Definition: str_def.h:71
xmtw::WriteBodies
Dtk_ErrorStatus WriteBodies(const Dtk_tab< Dtk_BodyPtr > &bodies, Dtk_tab< Dtk_ID > &outTabIds, Dtk_bool bSewing=DTK_TRUE, Dtk_Double64 tolmin=0.01, Dtk_Double64 tolmax=0.05)
Write the entity provided in parameter using given sewing tolerances.