 |
DATAKIT API
V2025.3
|
|
Go to the documentation of this file.
7 #define DTK_UGW_VERSION_NX5 45
8 #define DTK_UGW_VERSION_NX1980 60
9 #define DTK_UGW_VERSION_NX2212 63
64 int inVersiontowrite,
int inUnitasmm,
int inMultithread = 0 );
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
@ inch
Definition: ugw.hpp:17
Dtk_ErrorStatus ImportCdfColorfile(const Dtk_string &InCdfFile)
Import a color palette.
Dtk_ErrorStatus WriteAxisSystem(const Dtk_AxisSystemPtr &inAxisSystem)
Add an axis system into the current node.
ObjectPreferences objectpreferences
Definition: ugw.hpp:47
Dtk_ErrorStatus SetColorInTable(size_t inIth, const Dtk_RGB &inColor, const Dtk_string &inColorname)
Replace color value and color name on the palette.
DensityUnit
Definition: ugw.hpp:27
Dtk_ErrorStatus AddExternInstance(const Dtk_string &inProtoFileName, const Dtk_transfo &inTrans, Dtk_InfoPtr inInfos, void(*innxread_getdata)(const Dtk_string &, void *&))
Open an extern file to add as instance in current assembly, inProtoFileName must be in the output dir...
@ millimeters
Definition: ugw.hpp:17
#define DTK_UGW_VERSION_NX5
Definition: ugw.hpp:7
This is a high level string class.
Definition: dtk_string.hpp:58
Dtk_ErrorStatus WriteReferenceGeometry(const Dtk_BodyPtr &inRefgeom)
Add a reference geometry into the current node.
ModelingPreferences()
Definition: ugw.hpp:31
Dtk_ErrorStatus WriteExternJtMesh(const char *inFlux, size_t inSize, const Dtk_InfoPtr &inInf)
Add a JT file as lightweight body inside the file.
Dtk_ErrorStatus WriteBody(const Dtk_BodyPtr &inBody)
Add a body inside the file.
char Dtk_bool
Definition: define.h:725
double Dtk_Double64
Definition: define.h:699
Dtk_ErrorStatus SetLayerData(const Dtk_LayerInfosSetPtr &inLayerDataSet, const Dtk_tab< Dtk_Int32 > &inVisibles=Dtk_tab< Dtk_Int32 >(), const Dtk_tab< Dtk_Int32 > &inSelectables=Dtk_tab< Dtk_Int32 >())
define Data for layers
bool asm_multithread
Definition: ugw.hpp:20
Dtk_RGB col
Definition: ugw.hpp:41
@ g_m3
Definition: ugw.hpp:28
double distance_tolerance
Definition: ugw.hpp:23
Dtk_ErrorStatus WritePMI(const Dtk_FdtPtr &inPmi)
Add a pmi inside the file.
Dtk_ErrorStatus WriteExternParasolidBody(const char *inFlux, size_t inSize, const Dtk_InfoPtr &inInf)
Add a Parasolid file as body inside the file.
General()
Definition: ugw.hpp:43
Dtk_ErrorStatus CloseLastInstance()
Close the last instance.
Dtk_RGB background_color_top
Definition: ugw.hpp:36
Dtk_ErrorStatus SetGroupDatas(const Dtk_string &inGroupName, Dtk_InfoPtr inInfos)
define Visibility for a specific group
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
General def
Definition: ugw.hpp:45
Dtk_ErrorStatus SetGroupVisibility(const Dtk_string &inGroupName, Dtk_bool inVisible)
Definition: util_ptr_dtk.hpp:37
Dtk_ErrorStatus GetColorInTable(size_t inIth, Dtk_RGB &outColor, Dtk_string &outColorname)
Get color value and color name from the palette.
Dtk_RGB background_color_bottom
Definition: ugw.hpp:36
ModelingPreferences modelingpreferences
Definition: ugw.hpp:35
Unit unit
Definition: ugw.hpp:19
DefaultParameters()
Definition: ugw.hpp:49
double density
Definition: ugw.hpp:25
DensityUnit density_unit
Definition: ugw.hpp:30
@ lb_ft3
Definition: ugw.hpp:28
Dtk_ErrorStatus WriteMesh(const Dtk_MeshPtr &inMesh)
Add a mesh inside the file.
Dtk_ErrorStatus AddMetaData(const Dtk_MetaDataPtr &inMeta)
Add a MetaData in the current component.
Dtk_ErrorStatus InitFile(const Dtk_string &inFilename, int inVersiontowrite=45, const DefaultParameters &inDef=DefaultParameters())
Initialize UG Writer.
Dtk_ErrorStatus OpenInstance(const Dtk_string &inInstanceName, const Dtk_string &inProtoFileName, Dtk_bool &outWasAlreadyInstancied, const Dtk_transfo &inTrans, const Dtk_RGB &inRgb)
deprecated
double angle_tolerance
Definition: ugw.hpp:24
@ kg_m3
Definition: ugw.hpp:28
Dtk_Double64 width
Definition: ugw.hpp:42
@ lb_in3
Definition: ugw.hpp:28
const Dtk_string & inInstanceName
Definition: catiav5w.hpp:618
Definition: dtk_rgb.hpp:7
Dtk_ErrorStatus EndFile()
Close the UG file.
Unit
Definition: ugw.hpp:16