
| | | |
| Applies To | | |
| | | |
| Product(s): | AutoPLANT, AutoIsogen | |
| Version(s): | V8i | |
| Environment: | N/A | |
| Area: | Import/Export | |
| Subarea: | N/A | |
| Original Author: | Bentley Technical Support Group | |
| | | |
Overview
The annotation format for tag number is different between control valves and Pressure Temperature gauges. This is a solution to format the annotation the same way as other instruments where the tag is split to three levels.
How do I split the tag number annotation to three lines for a Pressue-Temperature gauge in Isogen
- Open the following file in notepad: ..\modules\base\xchg\pcf\DIALOUT.EBS
- Add the following three dim statements
Dim tag As String
Dim separator As Integer
Dim startLoc As Integer - Then add the following code immediately after the first within the if-then statement.
status = at_Component_getString (tag, compID, "TAGNUMBER")
startLoc = 1
Do
separator = Instr (startLoc, tag, "-", 1)
If (separator <> 0) Then
Mid$(tag, separator, 1) = "$"
status = at_Component_putString (tag, compID, "TAGNUMBER")
End If
StartLoc = separator + 1
Loop While (separator <> 0) - Save and close the file.
- Restart AutoPLANT and then regenerate the iso.
See Also
Product TechNotes and FAQs
External Links
Bentley Technical Support KnowledgeBase
Bentley LEARN Server
Comments or Corrections?
Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!