cancel
Showing results for 
Search instead for 
Did you mean: 

run journal (or dll) on "save" button click

Experimenter
Experimenter

Hello, guys, i'm newbie here, and i'm developing some journals for optimize my time and do some things better.

i'm trying to do some action when i do press the "save" button, i'd so much things, and i havent find anything about.

(i'm trying to compile my vb archive to dll too)

 

sry for my bad english ;s

thanks at all!

5 REPLIES

Re: run journal (or dll) on "save" button click

Siemens Phenom Siemens Phenom
Siemens Phenom

Look for the User Exits article in the NX Open Programmers Guide

 

Specifically, the USER_FILE user exit is called when a part is saved.

 

Regards,

Jim

 

Re: run journal (or dll) on "save" button click

Esteemed Contributor
Esteemed Contributor

The problem is that there are so many ways to save, so the are many user exits and there are many menu locations.

 

Some of the user exits don't work as expected, so we are now using POST actions on the menu entries of interest.

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: run journal (or dll) on "save" button click

Experimenter
Experimenter

i must to install the documentation here, i do'nt know how to proceed.

i'm using visual studio, but i'm newbie in that things... ;p

 

thanks for helping!

Re: run journal (or dll) on "save" button click

Valued Contributor
Valued Contributor

Do yoo know if there is a way to check in the post action if the function called in the action is canceled?

 

Mit freundlichen Grüßen / With kind regards

i.A. Dipl.-Ing. (FH) Stefan Walder
CAD Management
----------------------------------------------------------------------
stefan.walder@gira.de
Tel +49(0)2195-602-319, Fax +49(0)2195-91603-319
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Elektro-Installations-Systeme
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Deutschland

Intelligente Gebäudetechnik von Gira. www.gira.de

Handelsregister AG Köln HRA 16352
Persönlich haftende Gesellschafterin: GAV Management GmbH,
Handelsregister AG Köln HRB 50479
Geschäftsführer: Dipl.-Kfm. Dirk Giersiepen, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial
----------------------------------------------------------------------
Gira Giersiepen GmbH & Co. KG, Electrical installation systems
Industriegebiet Mermbach, Dahlienstraße, 42477 Radevormwald, Germany

Intelligent building technology by Gira. www.gira.com

Register of Business Names: AG Köln HRA 16352
Partner Personally Responsible: GAV Management GmbH,
Register of Business Names: AG Köln HRB 50479
Managing Directors: Dipl.-Kfm. Dirk Giersiepen,
Dipl.-Wirtschafts-Ing. (FH) Oliver Borchmann, Alfred A. Bulitz,
Dipl.-Kfm. Thomas Musial

Re: run journal (or dll) on "save" button click

Esteemed Contributor
Esteemed Contributor

The PRE and POST actions only get the menu ID as arguments, nothing else.

 

Assuming the part to save is modified, you could check if it is still modified in the post action.

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