How to control Siemens NX by actxserver?

5 vues (au cours des 30 derniers jours)
Nikolai
Nikolai le 7 Juil 2014
Commenté : Levi Seidel le 5 Juin 2017
Hey,
I try to invoke Siemens NX 9.0 by matlab and would like to use sendkeys later on... For this I need the ProgID but I have no idea what this is unfortenately. My code:
h = actxserver ('progid') set (h,'Visible',1)
What do I have to choose to open NX? Or is there another possibility to control the CAD System?
status = system ('C:\Program Files\Siemens\NX 8.5\UGII\ugraf.exe');
This code opens NX but I cannot apply sendkeys for controlling the program!
Does somebody have any idea?
kind regards Niko9310
  1 commentaire
Levi Seidel
Levi Seidel le 5 Juin 2017
Did you ever figure this out?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Use COM Objects in MATLAB dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by