Cancel
Showing results for 
Search instead for 
Did you mean: 

Mom variable

Pioneer
Pioneer
Which is the varible for workpiece z height ??
3 REPLIES

Re: Mom variable

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

As far as I know, there is none.

Note you could add a distance expression in your part to measure this, then use MOM_ask_ess_exp_value to get the value.

Note if the expression can't be found, instead of throwing an error, that function returns the value "No such variable defined in Expression" (check in case this gets localized in your language).  So error handling is a bit obtuse.

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Re: Mom variable

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
https://youtu.be/tyHPsJLKVV8

In past I build for one member of this forum sample where I calc for each rotary position min z safe distance. Your task a same.

Re: Mom variable

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Hi, @Vora!

Find attached:

-Sample prt (NX11)

-Postprocessor

-UGOPEN DLL

 

max_Z_measurement.png

 

1. Extract all files

2. Copy DLL into root C:\

3. If impossible to use C:\  - create any folder in any place and edit tcl-file of postprocessor, insert your path to dll. Search and replace "C:\\BLK_FORM.dll" - use \\ for path.

4. Open my prt.

5. Manufacturing

6. And postprocess my operation. See output

7. For your prt-file - set name for your SOLID BODY (not for feature!) "PART", place WCS as you need, save WCS and for saved CSYS set name "ZAO_POSTPROCESSOR"

$mom_gabarit(2) - is maximum Z in your CSYS for your solid body. Declare this var in any place as global.

Be happy!

Learn online





Solution Information