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.
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.