PDA

View Full Version : Placing Axial Nozzles at Decimal Degrees



awerning
01-27-2010, 01:11 PM
When trying to place axial nozzles at decimal degrees you get an error box stating that you must use an integer. You can fix this by editing the .ebs file that controls this dialog.

1) Open the "C:\Program Files\Bentley\Plant XM\Equip\methods\draw\NZEQAX.EBS" file with the ebs file editor.

2) Go to the following line (around line 555):

Call at_Dlg_setTBctrl ("ANGLE","I",CStr(cdat(7)),"-360","360",1,"",at_Msg("Enter the Nozzle angular location","EQP",0))

3) Change the "I" to "R" like this:

Call at_Dlg_setTBctrl ("ANGLE","R",CStr(cdat(7)),"-360","360",1,"",at_Msg("Enter the Nozzle angular location","EQP",0))

In my tests this seemed to work fine with no bugs.

NOTE: If you do not want to edit the out-of-box file you can copy it into your project (under the comparable folder) and edit it there.

kfauver
01-27-2010, 01:21 PM
What is changing "I" to "R" doing. I guess I could go and look at the documentation, huh?

awerning
01-27-2010, 01:34 PM
I = Integer
R = Real

(Not sure there is documentation on this sort of thing)

kfauver
01-27-2010, 01:35 PM
Well that was a DUH! moment on me. Thanks

Shihan Jedi
01-27-2010, 01:36 PM
Once again, awerning amazes me. You sir are an Autoplant Einstein.

:D

dave
01-27-2010, 01:36 PM
what happened to good ol STRING?