cancel
Showing results for 
Search instead for 
Did you mean: 

Create machine kit automation api missing in journal

Experimenter
Experimenter

Hi All,

I'm trying to learn about the ways to create automations through the nxOpen API.

So I've started with journaling the import NC archive process:

1. I open a .prt file with a kinematic model already entered.

2. I start journaling

3. Click "import NC Archive", see that the archive is imported successfully

4.End journaling

But when I open the journal it seems that some of the code is missing, the file path of the NC archive for example.

Is this nxOpen Api not availiable?

Here is an example of the journaled code

  // ----------------------------------------------
    //   Menu: Tools->Machine Tool Builder->Import NC Archive...
    // ----------------------------------------------
    nxopen.sim.KinematicConfigurator kinematicConfigurator1;
    kinematicConfigurator1 = workPart.kinematicConfigurator();
    
    nxopen.sim.MachineToolConfiguration machineToolConfiguration1;
    machineToolConfiguration1 = kinematicConfigurator1.createMachineToolConfigurationBuilder();
    
    nxopen.NXObject nXObject1;
    nXObject1 = machineToolConfiguration1.commit();
    
    machineToolConfiguration1.destroy();
4 REPLIES

Re: Create machine kit automation api missing in journal

Esteemed Contributor
Esteemed Contributor

You cannot record a journal of all actions, the journal indicator tells you what action can be recorded.

You will have to check the NXOpen API reference, if there is a single API function to do this, but I doubt.

BTW, this post would better suite the "programming and customization" forum.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: Create machine kit automation api missing in journal

Experimenter
Experimenter

Hi Stefan,

Thanks for the response,

when I start journaling it looks like the action should be able to be recorded

2016-12-27 18_47_27-NX 11 - Machine Tool Builder - [Machine Kit test - 2016.12.27 18_25_33.prt (Modi.pngCould this be an UI issue where it looks like it should be recorded but actually can't?

 

Re: Create machine kit automation api missing in journal

Esteemed Contributor
Esteemed Contributor

I would report it to GTAC, so that they can correct it.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: Create machine kit automation api missing in journal

Experimenter
Experimenter

Thanks a bunch for you help!

Learn online





Solution Information