Cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation about dbc-Variables

Valued Contributor
Valued Contributor

Can you tell me, where I find a documentation about all existing dbc-Variables. Example: dbc_machine_description
Meanwhile I know that this variable comes from column "DESCR" in machine_database.dat and we use it in the TDM/NXCAM-Interface.
I hope that there anywhere is a documentation about all existing dbc-Variables. If not, where can I get this informations?

Werner
Production: NX10.0.3, FBM | TcUA 10.1.2.2
Development: VB.NET, Tcl/Tk | Testing: NX12.0
6 REPLIES

Re: Documentation about dbc-Variables

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

There is no documentation for these variables.

 

The file %UGII_BASE_DIR%\UGOPEN\uf_param_indices.h contains some of these variables.

 

Example definition:

 

/* UF_PARAM_DISP_PATH
 *
 *  Description:
 *  This index contains a pointer to a set of parameters to display a tool path
 *
 *  Type: UF_PARAM_type_pointer
 *
 *  Name: Display Path Option
 *  Variable Name: <prefix>_display_path_option
 *
 *  Possible Values: UF_PARAM_disp_path_t
 *
 * 
 */
#define UF_PARAM_DISP_PATH   5  /* UF_PARAM_type_pointer */

 

Variable name specifies the Tcl variable name.

Prefix is any of the list of modules using Tcl scripts, like mom, dbc, etc.

 

mom ... manufacturing output manager

dbc ... database connector

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: Documentation about dbc-Variables

Valued Contributor
Valued Contributor

Thanks for your answer. But as you say there are only some of the variables included. For example machine_description I can't find. If I scan the UGII-Folder I find "machine_description" only in libcamsftr.dll

 

I think the developers of NXCAM should have a kind of document, that would help me.

Werner
Production: NX10.0.3, FBM | TcUA 10.1.2.2
Development: VB.NET, Tcl/Tk | Testing: NX12.0

Re: Documentation about dbc-Variables

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Since the amount of Tcl variables used with MOM and DBC is huge, I doubt there is such a document.

 

Your best bet is to check the Tcl scripts handling the area of interest.

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: Documentation about dbc-Variables

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Although its not much help ahead of time, you can always "black box" it

- define unique values in every field in the data files (and make sure every field has a value)

- add the object to an NX part

- see which DB field's data match which fields in the NX object's "edit" dialog data.

 

Ken

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: Documentation about dbc-Variables

Valued Contributor
Valued Contributor

Hello Ken,

 

first thanks for your answers. But I'm afraid I need more information.

  • Which data files do you mean?
  • Which objekt should I add?
  • Which object's "edit" dialog do you mean?

Sorry, I really have no idea.

 

Werner

Werner
Production: NX10.0.3, FBM | TcUA 10.1.2.2
Development: VB.NET, Tcl/Tk | Testing: NX12.0

Re: Documentation about dbc-Variables

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

DBC is used for all NX libraries, like tools, feeds and speeds, cut methods, part materials, holders, etc., so you need to check the objects of interest and their library files.

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

Learn online





Solution Information