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?

6 REPLIES

Re: Documentation about dbc-Variables

Esteemed Contributor
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.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: NX12.0

How to Get the Most from Your Signature in the Community

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.

Re: Documentation about dbc-Variables

Esteemed Contributor
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.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: NX12.0

How to Get the Most from Your Signature in the Community

Re: Documentation about dbc-Variables

Esteemed Contributor
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 MP5 + patch/TC11.2
I'd rather be e-steemed 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

Re: Documentation about dbc-Variables

Esteemed Contributor
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.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: NX12.0

How to Get the Most from Your Signature in the Community

Learn online





Solution Information