Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How add custom pipe diameters into mechanical routing? 3

Status
Not open for further replies.

naeng

Industrial
Dec 20, 2009
18
0
0
ES
Hi everyone:

That is my question, i want to add my custom diameters into mechanical routing and i still don´t get it. What i have tried is using the utility ss2ptb.exe following the method explained here and i get the file with the extension .ptb with my custom sizes and copy it into the directory indicated in the thread i mentioned, but nothing appears in the library of nx.
I´ll be grateful if someone explain how to add custom pipe diameters into nx mechanical routing in the easiest way as possible.

Thanks in advance.
 
Replies continue below

Recommended for you

I came accross the similar problem. I have found out, that ss2ptb is not enough. You have to edit the Application View file (.apv), the Part Library View file (.plv), the Part Table file (.ptb), and the Part files (.prt). Files are connected between themselves like so: APV file calls a PLV file, the PLV file calls different PTB files, and each PTB file may reference one or more PRT files.

At the moment, what I am doing is just changing the original NX files (..\UGROUTE_MECH\appview and ..\ UGROUTE_MECH\parts). I select the one, that is the most similar to what I am looking and then just change the geometry. I also run Qualify Part to change ports, anchors, etc.
So, if I change just this prt file, then I don't have to do anything with apv, plv, ptb, or anything like this.
For anything different, I just create a part/stock and save it in my folder in the Reuse Library. Then, when creating new path/stock, I select the part from the Reuse Library rather than selecting it from the NX specified routing library.
 
Thank you SvenBom for you help, i have done what you mentioned, changing the original files with the dimensions i need, and it is enough for i want to do, i just need a few custom diameters for a simple hydraulic routing. In any rate, if someone know how to add custom parts to nx mechanical routing in a precise way, please explain it, thanks again SvenBom.
 
OK, I have find out, how to add my own profiles to the NX routing library.
As already mentioned, we have to work with Application View file (.apv), the Part Library View file (.plv), the Part Table file (.ptb), and the Part files (.prt). I have uploaded my part file with part families defined, my PTB file and changed PLV file.
Application view file is master file for the whole mechanical routing. It defines disciplines and specifications. What is this in NX? If you open mechanical routing file and then go to preferences/routing, you will see the discipline under the Disciplines tab. This is, where you select Piping, Steelwork, etc. This is controled by APV file. For me, those discipline are defined well enough, so I am not going to change the apv files.
The application view files call the Part Library View files (plv). PLV files have the definition for all the additional options in particular discipline. For example, PLV file will define all the standards for U profiles, I profiles, etc., when you select Steelwork for your Discipline. Here you want to define your own standard. If you open my PLV file, search for this string: MyStock. You will see, that under NODE STEELWORK_STOCK, I have added my own SUBNODE, named MyStock. Then, if you scroll down a bit, you will see the following section:
NODE MyStock
NAME RectTubing
TABLE DS_Rectangular_Tubing.ptb
END_OF_NODE
This is the way to tell NX, which standards you want to add. If you open NX with such PLV file, you will have under steelwork section this new MyStock standard (among others). In the list of all Steelwork standard, this my standard will be represented as RectTubing. And this MyStock is calling DS_Rectangular_Tubing.ptb file.
And now, there is a Part Table file (PTB) and part file itself. You have to define both very carefuly. With some additional utilities, you can update part file with PTB file. This is something, I didn't quite figure it out yet. So, here is how I have add my own part. First, I have created a prt file with part families defined. When defining part families, I have turned off the Importable Part Family Template in main dialogbox. Under chosen columns, I have now only Part_Name. There is no DB_PART_NO and OS_PART_NAME. This is how part families has to be defined. Then, I add my own expressions, that I want to use in routing. And of course, I have qualifiy this part as a routing object.
When this was defined, I have looked for the most similar PTB file. I have edit it so, that it contains my expressions and I have hidden the expressions, that I don't want to use during the selection of this part in routing application. If you check my PTB and prt file, you will find out quite easily, how the ptb file has to be defined. But be careful! PTB file and part family definition must use exactly the same expressions and names. It is also case sensitive. If you use 'X' in part families and 'x' in PTB file, routing will not recognize this member.
Very important variables here in PTB files are:
MEMBER_NAME..this must be the same as Part_Name variable in a part families(excel), defined in your part file
PART_NAME....this must be exactly the same as the name of your part
In my file, width and thickness are important expressionx. They define the shape of the stock. Other variables are there just because they were there in the original ptb file. And I didn't delete them.

And that's it. When you define those files like this, you can use your own parts in routing.

And this is where those parts have to be saved:
DS_Rectangular_Tubing.prt in C:\Program Files\Siemens\NX 8.5\UGROUTE_MECH\metric\parts or inch instead of metric
DS_Rectangular_Tubing.ptb in C:\Program Files\Siemens\NX 8.5\UGROUTE_MECH\metric\tables or inch instead of metric
ugroute_mech_metric.plv in C:\Program Files\Siemens\NX 8.5\UGROUTE_MECH\appview. If you are not working in metric system, then you will edit ugroute_mech_inch.plv file, of couorse.

I hope that this explanation and added files will help in creating your own standards and parts for mechanical routing.
 
 http://files.engineering.com/getfile.aspx?folder=636a5df8-e723-4fb9-b9bf-e0948f81ca62&file=mech_routing.zip
Great job Sven, thank you very much, it will be very useful for me and for all the people in the forum who are interested in mechanical routing with nx, thanks for sharing this information.
 
Status
Not open for further replies.
Back
Top