05-25-2017 06:01 AM
Hi,
Someone knows that variable corresponds to the yellow parameter (Zlevel Depth per Cut), in the attached photo, within the streamline operation?
Best Regards
Ivan
05-25-2017 09:51 AM
Are you looking for this variable in the post or shop docs, or somewhere else?
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
05-25-2017 10:05 AM
Is for post, I searched with the debugger but I can not find it.
05-26-2017 05:44 AM
You cannot access all operation settings from MOM in some cases you need to create a custom DLL to collect this information on your own.
I doubt that settings of the various drive methods of fixed and variable axis operations are even planned to be available in MOM.
The surface contouring operations are much more complex than the level-based operations.
Production: NX10.0.3, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
05-26-2017 03:08 PM
Did you try setting it to a "unique" value (e.g. "5.01234")?
Then search for one digit less (for my example, search for "5.0123")
When you searched the debugger - did you look in the TK dialog for the debugger, or in the text files that get created?
You could also try the "Moog_Show_Globals" proc (search this forum for thread with proc code & how to use), it could be the variable is set but Siemens doesn't report it.
But as Stefan says, this may not have a mom variable created for it.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
06-01-2017 02:37 AM
Thank you for everybody.
I have tried the function but it seems that this variable doesn´t exists.
Maybe with a .dll I could take it.
Best Reagrds
Ivan
06-01-2017 09:47 AM - edited 06-01-2017 09:47 AM
If you need help writing the DLL...
The tcl command in the post is MOM_run_user_function
The Ufunc call is UF_MOM_extend_translator
There are examples in the "Solutions" database (https://solutions.industrysoftware.automation.siemens.com/), search on either of the above 2 functions.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
06-01-2017 12:32 PM
I didn't want to post until I found it...
I also did a presentation on this at the 2010 PLMworld conference.
You'll need to become a PLMworld member, but it is available at:
http://www.plmworld.org/p/do/sd/sid=1025
Concentrating on C/C++, but there's some useful info for any language.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
06-01-2017 02:55 PM
To confirm, not every operation parameter is output as a mom variable. If a parameter is not output (such as this one), then you need to use the API to read the parameter from the operation.
06-02-2017 07:31 AM
Ok, thanks to all.