DATAKIT API  V2025.1
UG NX reader

UG NX 3D Read Library allows you to read UG NX 3D files.

UG NX 2D Read Library allows you to read UG NX 2D files.

//Set the Schema directory needed for readers based on Parasolid Read Library (UG, Solidworks, Solidedge)
MyAPI->SetSchemaDir(inRepSchema);



To integrate UG NX 3D Read Library, you should :



The UG NX Read library allows also reading the feature "Hole" and its related features e.g., pattern and mirror.
To process features in this library, a specific licence is required for this module.

You should activate the features process as following :

//Set the Configuration to process Features
Dtk_API::SetSchemaDir
Dtk_ErrorStatus SetSchemaDir(const Dtk_string &inSchemaDir)
Set Schema Directory needed for Unigraphics, Parasolid, Solidedge, Solidworks and Jt readers.
PsReader::Enable
static Dtk_bool Enable()
Dtk_API::ActivateFeaturesRead
void ActivateFeaturesRead(Dtk_Int32 inForceFeatureData=DTK_FALSE)
Activate Features read.