Cancel
Showing results for 
Search instead for 
Did you mean: 

How to add class in export tool to library ?

Solution Partner Builder Solution Partner Builder
Solution Partner Builder
I want to add my tool to class ( I want to create new class is my company) .


Thank you.
11 REPLIES

Re: How to add class in export tool to library ?

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hello,

I think, you can use a guide from NX help, there is step by step guide for adding new tool clases.

I try to attach picture to let you show where it is.

Tool_Class.JPG

Vavrusa Ondrej
NX10.0.3
NX11.0.x testing

Re: How to add class in export tool to library ?

Like @Ondra says, the process to add a class is well documented.

 

But your subject line mentions exporting a tool, so maybe that is what you are looking for? Once you have modified the tool library files to include your new class, if you want to populate the class during export, you need to modify the ASC_ask_missing_aliases proc in dbc_tool_ascii_export.tcl.  By specifying the aliases for the proper tool classes, when you export a tool, we will bring up a dialog asking for the values to be used for any missing alias.

Mark Rief
Retired Siemens

Re: How to add class in export tool to library ?

Builder
Builder

I follow guide on New class and working ok. After define new class for ball mill with same method, export for ball toll doesnt work. How to define new class for ball tools?

Re: How to add class in export tool to library ?

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

HI should work the same way. I have no problem , I added new ball mill class and if I click on export tool to library it appears all my classes for ball mills and I only choose where I want to have my new tool

CLASS.PNG

Vavrusa Ondrej
NX10.0.3
NX11.0.x testing

Re: How to add class in export tool to library ?

Builder
Builder
After export new ball mill tool to library, i dont see table "Select target class" - and TCL error.

Re: How to add class in export tool to library ?

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Strange ... check if you change file dbc_tool_ascii_export.tcl in folder ...\CAMresource(or resource)\library\tool\ascii

and dbc_tool_general.tcl in folder ...\CAMresource(or resource)\ug_library here must be :

CLASS2.PNG

and it works

Vavrusa Ondrej
NX10.0.3
NX11.0.x testing

Re: How to add class in export tool to library ?

Builder
Builder

Ok, thank you. I found missing information under ball mill:

mylibtool.jpg

Now i see dialog for class select, but i have always TCL error.

Re: How to add class in export tool to library ?

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

There is not only one row where is new class declared. You must check it, if it is in all files according of some existing group (f.e. BALL_MILL_NON_INDEXABLE) or according to help guide.

Vavrusa Ondrej
NX10.0.3
NX11.0.x testing

Re: How to add class in export tool to library ?

Builder
Builder

Ok, I found another problem in my definition and now export is work.

Another question. After select my new Type:

mylibtool2.jpg

i see all tools from "Milling" group too. Is possible separate?

Learn online





Solution Information