Cancel
Showing results for 
Search instead for 
Did you mean: 

ShopDOC - Mom Vars

Experimenter
Experimenter

Hello everyone !

I'm setting up ShopDoc for my company. But I have a question about which variable makes the PartStock and FloorStock appear in the process sheet. I also need the variable to check whether Cutter Compensation is enabled or not.

 

Appreciate

 

 

NX 12.0.1 - CAD/CAM
SolidEdge ST10
5 REPLIES

Re: ShopDOC - Mom Vars

Legend
Legend

Hi @MarioHP_Br,

Active The Review Tool  , You should find what you are looking for... At the end of report a Tk window will open ,you can open a debug file too (where is saved your file) and find *_stock_* .

For cutcom the variable name is : mom_cutcom_type if the variable is equal to 1 the cutter compensation is active.

Production: NX11.0.2.7,VERICUT 8.1.2
Development: Tcl/Tk, Gnuplot
www.adgroupe.com

Re: ShopDOC - Mom Vars

Experimenter
Experimenter

You can use  ${mom_stock_floor}  and  ${mom_stock_part} for wall.

The problem is whem You have checked box Use floor same as side.

It will take the last value of  hidden floor stock.

Paulo Stepancic , DAG d.o.o. Koper

Re: ShopDOC - Mom Vars

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

@paulodag wrote:
The problem is whem You have checked box Use floor same as side.

It will take the last value of  hidden floor stock.


There is the variable called mom_stock_part_use, which indicates the setting of that check box.

if { [ info exists mom_stock_part_use ] && $mom_stock_part_use == "1" } {
    # code to handle the situation when part stock is used as floor stock
}
Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, 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 Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide

Re: ShopDOC - Mom Vars

Experimenter
Experimenter

Thank You,

I will try to adopt your solution in Excell

Paulo Stepancic , DAG d.o.o. Koper

Re: ShopDOC - Mom Vars

Pioneer
Pioneer

Hi,

 

It will not work if you set a formula in Excel.

You have to do as shown by Stefan.

 

The most common way is to edit your TCL script.

 

Adrien Marmy, Designer / SystemManager CAx, Turck Interprox

Production: NX9.0.3 mp13 | AGILE PLM E6.1.3 | ECU 3.9.2

Development: .NET Testing: NX12.0.1.* | ECU 3.9.9.2

Learn online





Solution Information