DATAKIT API  V2025.2
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
solidworksw.hpp File Reference

Go to the source code of this file.

Data Structures

class  solidworksw::FileDescription
 This class provides several informations about a Solidworks File.
It can be used with solidworksw::OpenPart and solidworksw::OpenAssembly functions to specify file properties. More...
 
class  solidworksw::Instance
 This class provides Instance about a Solidworks File.
It can be used with solidworksw::OpenAssembly functions to Add Instance. More...
 

Namespaces

 solidworksw
 Exported APIs for solidworks Write Library.
 

Enumerations

enum  solidworksw::language {
  solidworksw::french =0, solidworksw::english =1, solidworksw::italian =2, solidworksw::deutch =3,
  solidworksw::chinese =4
}
 

Functions

Dtk_ErrorStatus solidworksw::AddEntity (const Dtk_EntityPtr &inEntity)
 Write the entity provided in parameter. More...
 
Dtk_ErrorStatus solidworksw::AddInstanceComponent (Instance &inInstance)
 Add an instance into the Current Assembly (sldasm). More...
 
Dtk_ErrorStatus solidworksw::AddMetaData (const Dtk_MetaDataPtr &inEntity)
 
Dtk_ErrorStatus solidworksw::AddParasolidBodyStream (const char *inFlux, size_t inSize, const Dtk_InfoPtr &inInfo)
 Add parasolid stream with only one body without header. More...
 
Dtk_ErrorStatus solidworksw::AddParasolidFile (const Dtk_string &inParasolidFile)
 Add parasolid file. More...
 
Dtk_ErrorStatus solidworksw::AddParasolidId (const Dtk_Int32 &inParasolidId)
 Add parasolid Id body. More...
 
Dtk_ErrorStatus solidworksw::CloseAssembly ()
 Write effectively the Assembly initialized by solidworksw::OpenAssembly. More...
 
Dtk_ErrorStatus solidworksw::ClosePart ()
 Free data allocated by solidworksw::OpenPart
More...
 
Dtk_ErrorStatus solidworksw::EndWriter ()
 Free the Solidworks Writer
More...
 
Dtk_ErrorStatus solidworksw::InitWriter (const Dtk_string &inLogFile, Licence_dtk inLicFct, solidworksw::language inLanguage=solidworksw::english)
 Initialize the Solidworks Writer
More...
 
Dtk_ErrorStatus solidworksw::OpenAssembly (const Dtk_string &inFileName, const solidworksw::FileDescription &inFileDescription=solidworksw::FileDescription(), Dtk_Unit inUnit=DTK_UNIT_MM, const Dtk_string &inConfigurationName=Dtk_string())
 Initialize a Assembly .
More...
 
Dtk_ErrorStatus solidworksw::OpenPart (const Dtk_string &inSolidworksFile, const solidworksw::FileDescription &inFileDescription=solidworksw::FileDescription(), Dtk_Unit inUnit=DTK_UNIT_MM, const Dtk_string &inConfigurationName=Dtk_string())
 Initialize the part
More...
 
void solidworksw::OptionRemoveComment (Dtk_Int32 inRemoveComment)
 option to not store the comment More...
 
void solidworksw::OptionStoreBodyColor (Dtk_Int32 inStoreBodyColor)
 option to store the body color More...
 
void solidworksw::SetIsAlreadyStart (const Dtk_Int32 &inStop)
 ONLY for PSKERNEL user. More...