MATLAB: Exporting NX (Unigraphics) models to SimMechanics

cadSimscape Multibodyug nx

Hello. I need to export my NX (Unigraphics) model (a part of it actually – doesn't matter I think) to SimMechanics. Is that technically possible? I found the list of supported CAD systems – there is no NX unfortunately. But probably there is a way?

Best Answer

As you found out, NX is not supported out of the box. However, there is an API provided with SimMechanics Link, which (if you have access to the API in NX) would allow to create your own interface. You would need to write the "glue" (C++) between the NX API and the SimMechanics Link API. This would need two components:
  • the user interface part (within NX)
  • the functionality or "callbacks" behind the UI (similar to a MATLAB GUI).
Another option you have, if feasible, is to export the assembly from NX into a standard CAD format that can be read into Pro/E, SolidWorks and AutoDesk Inventor. After that you can export to SimMechanics using one of these three packages. I have seen this workflow used with other unsupported CAD packages.
Finally, a more manual approach would be to export each part in your CAD assembly to an (ASCII) STL file and use the SimMechanics STL file importer to create a corresponding SimMechanics body block for each part. You would then need to add the joints between the parts manually.
HTH,
Arnaud