PDA

View Full Version : Handwheel sort codes



AplantAdmin
10-23-2006, 05:23 AM
Hi All

My new problem. How do i change the sort code for handwheels. Handwheels don't show on my BOM, but they do if i print a BOM report. They currently have a sort code of 15 and i'd like to change them too 100. Our report won't print any thing over 99.

Any help is appreciated.

Steve

Packin31
10-23-2006, 01:27 PM
Steve,

Look at these files
C:\Bentley\Plant 2004\config\imperial\topworks.ini
C:\Bentley\Plant 2004\config\mmetric\topworks.ini

Snip it:
[AT_TOPWORKS_HANDWHEEL]
WheelOD = 8
HandleL = 12
HandleD = 3
LONG_DESCR = HANDWHEEL
SHORT_DESC = TOPWORKS
SORT_CODE = 101.000000

Bingo
10-23-2006, 06:29 PM
I have a try,but it not work.
I am also mdify the file of topworks.ini in project_root.
did anybody working fine?

Packin31
10-24-2006, 03:51 AM
Bingo,

It worked fine for me.

Attach jpg is the path to the project config on my machine.

The .txt is a rename of the .ini of the topworks.ini for the project.

Hope this helps. If not let me know.

AplantAdmin
10-24-2006, 11:32 AM
Packin31

Are you running standalone?? I have added the info both to my root directory on my c:drive and the project root and it makes no difference. I'm running on SQL databases.

Steve

Packin31
10-24-2006, 12:14 PM
Steve,

We are using Access and the projects are on a server.

I have found two places for a project topworks.ini file.

Local
C:\Documents and Settings\All Users\Application Data\Bentley\Plant 2004\Config\937048_pickuwait
This here is a place holder for when you fill out the dialog box in piping.

Network/Server
G:\ESE\CADD\ProcPlts\Projects\937048_PICKUWAIT\con fig
I think this one here is where defaults are set then pushed to the local one when a topwork is called upon in piping.

As you can see in the attach txt file I don't have sort code set. When I first open the local one Sort_Code was set to 9.0 which I think pulled it from the valve Sort_Code.

Bingo
10-24-2006, 06:30 PM
It is ok,I know about my problem:
1:If it is a new project(no draw handwheel), you just need modify the file in Project_root.
2:If not a new project(draw handwheel before), first you should modify the file in Project_root,then delete file in C:\Documents and Settings\All Users\Application Data\Bentley\Plant 2004\Config\projectname.
the file will build when you draw handwheel.But the older handwheel can not attach the new number of sort_code.