Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
AutoPLANT | OpenPlant | PlantWise
  • Product Communities
  • More
AutoPLANT | OpenPlant | PlantWise
AutoPLANT | OpenPlant | PlantWise Wiki Remove Support Direction Text From Isogen Drawings [TN]
    • Sign in
    • -AutoPLANT | Bentley Raceway and Cable Management | OpenPlant | PlantWise Wiki
      • +OpenPlant
      • -Bentley AutoPLANT
        • AutoPLANT Product Group Compatibility
        • +AutoPLANT Modeler CONNECT Edition
        • +AutoPLANT Modeler V8i
        • +AutoPLANT Piping
        • +AutoPLANT Equipment
        • +AutoPLANT I&W
        • +AutoPLANT P&ID
        • +AutoPLANT Isometrics
        • -AutoPLANT AutoISOGEN
          • Add Material Data To Isogen Bill Of Materials - Example Tag [TN]
          • Adding Data From The Process Table To Isogens Output [TN]
          • AutoISOGEN - Personal Isogen Error Codes
          • AutoPLANT ISOGEN [FAQ]
          • Change The Color And Font For Text Placed By The Text Positon POS File [TN]
          • Changing The Font Of Your Isogen Output [TN]
          • Creating Custom Symbols In Isogen
          • Creating Isometrics of more than one Line number using AutoISOGEN
          • Having More Control with Isogen Dimensioning [TN]
          • How Do I Increase The Character Length Of The Spool Tag Annotation In Isogen [TN]
          • How do I make the OPCFHDR specific to a project [TN]
          • How Do I Split The Tag Number Annotation To Three Lines For A Pressue-Temperature Gauge In Isogen [TN]
          • How Do I Suppress Triangle Dimensions When A Model Is Skewed From The North Direction [TN]
          • How to Add all Supports under Fabrication Material.
          • How to Add Area, Unit, Service in Isogen Backing Sheet
          • How To Add New Fields In The ISOGEN BOM Such As Rating Or Schedule [TN]
          • How to Add Weld Summary Report in ISOGEN
          • How to Build Linenumber (Linenumber+Size+Spec) and add in AutoPLANT Isogen Backing Sheet.
          • How to Change the Support Symbol for Generated Isometric Drawing
          • How to create a custom symbol in Isogen
          • How to Get Operating Pressure And Other Process Information On The Isogen Title Block [TN]
          • How to Import Piping Design Data from CSV file to Isometric Backing Sheet.
          • How to Populate Comment/Note Placed on any Component in Generated Isometrics.
          • How to remove Drawing number from Isogen Title Block
          • How To Remove The Cut Piece Identifier And Cut Piece List From The ISOGEN Iso [TN]
          • How To Set Colors For Layers Or The BOM In ISOGEN [TN]
          • How to set paper size in AutoISOGEN
          • How To Show Insulation In ISOGEN [TN]
          • How to show Tracing in Isometrics using AutoISOGEN
          • How to Suppress Angle Information In AutoPLANT Isogen
          • How to Suppress supports on Isogen Continuations
          • How To Suppress The North Arrow In Isogen [TN]
          • How To Use A Custom Title Block In ISOGEN [TN]
          • Isogen Error Unable to find Key PWF for group MAP_ENDCOND4SKEY for module Base
          • Isogen Will Not Output A DWG Or DXF Error Plotfile-Prefix Must Have Trailing Path Delimiter [TN]
          • PCF Export Limitations [FAQ]
          • Remove Support Direction Text From Isogen Drawings [TN]
          • +Trouble Shooting AutoIsogen For AutoPLANT Plant Design Workgroup 2004 Edition [CS]
        • +Bentley Data Manager
        • +Vision/Document Manager
        • +Drawing Flattener
        • +DataSheets
        • +Specification Generator
        • +ProjectWise Integration
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
      • +Bentley Raceway and Cable Management
      • i-model Composition Service for S3D
      • Working from home with OpenPlant
      • Working from home with Bentley Raceway and Cable Management
      • Working from home with AutoPLANT Modeler
    • How to Associate the Specification Based on Service in OpenPlant Modeler Connect

    You are currently reviewing an older revision of this page.

    • History View current version

    Remove Support Direction Text From Isogen Drawings [TN]

       
      Applies To 
       
      Product(s): AutoPLANT Isogen
      Version(s): AutoPLANT XM
      Environment:  N/A
      Area:  N/A
      Subarea:  N/A
      Original Author: Joey Bertone, Bentley Technical Support Group
       

     

     

     

     

     

     

     

     

    Overview

    Support direction text is automatically placed on isogen drawings by default in AutoPLANT XM. To remove the support direction text an AutoPLANT EBS file has to be edited to stop the direction text from being passed to the Isogen drawing.

    This Technote will detail how to edit the EBS file to remove the support direction text on isogen drawings. Also included are instructions about how to make this change project wide; by making the EBS change project wide anyone using the project will not have support directions outputted to Isogen drawings.

     

    Locate and Edit the EBS file

    The support direction in AutoPLANT XM is placed via AutoPLANT's EBS script files. The opcfhdr.ebs file needs to be changed to stop the support direction from being pushed to the Isogen drawing. To stop the program from entering the support direction the section of the file that adds the direction will be commented out by adding ‘// to the beginning of the line. When ‘// is added to beginning of any line in an EBS file that line is ignored by the program.

    Open opcfhdr.ebs which is located at C:\Program Files\Bentley\Plant XM\XCHG\pcf; Note, once the file is changed in this location all Isogen files created on the workstation will no longer output support direction. Find the following section;

    '//
    '// Function to write out a component skewed direction data
    '//

    Once found add the text ‘// to the beginning of lines indicated below (underlined for emphasis)

    If (nStat = AT_SUCCESS) Then
         nDir = PCF_CONVERT_DIR(vDir, szDir)
         If (nDir > 0) Then
              nStat = at_XchgWriteText(" ")
              nStat = at_XchgWriteText(szKey)
              nStat = at_XchgWriteText(" ")
              nStat = at_XchgWriteText(szDir)
              nStat = at_XchgWriteln()
              '// Out put the direction as text
              '//status = at_Component_getString(supportClass, cmpID, "CLASS")
              '//status = at_ConfigurationTable_getString (dirStr, "", "SUPPORTS", supportClass, "ISOGEN_DIR_TEXT")
              '//If (status <> AT_SUCCESS) Or (dirStr = "") Then
              '// dirStr = at_Msg ("DIRECTION", "XCHG", 0)
              '//End If
              '//status = at_XchgWritelnText(" MESSAGE")
              '//status = at_XchgWritelnText(" TEXT " & dirStr & " " & szDir)
         Else
              nStat = AT_ERROR
         End If
    End If

     

    Once the changes are saved Isogen will not output the support direction.

     

    Project Wide Removal of Support Direction

    For the Opcfhdr.ebs file to effect Isogen production project wide create a copy of the Opcfhdr.ebs that was edited in the previous section. Next add the Opcfhdr.ebs file to the project;


    Go to the project's root; locate the following path:

    %Project_Folder%\Config\XCHG\pcf

    Example... Sample_Imperial\Config\XCHG\pcf

    If it does not exist, create each folder in that order.


    Place the copy of opcfhdr.ebs created in the previous section in Config\XCHG\pcf. Then locate the syspref.ini file on the local workstation, usually located here: C:\Program Files\Bentley\Plant XM\XCHG. Open the syspref.ini and add the bold text below to the pcf section of the file:


    [PCF]
    BEGIN_OUT = %Project_Root%\Config\XCHG\PCF\opcfhdr.ebs; at_PCFOut_begin;%Network_Root%\XCHG\PCF\opcfhdr.ebs; at_PCFOut_begin
    HEADER_OUT = %Project_Root%\Config\XCHG\PCF\opcfhdr.ebs; AT_PCF_HEADER_OUT;%Network_Root%\XCHG\PCF\opcfhdr.ebs; AT_PCF_HEADER_OUT
    HEADER_IN = %Network_Root%\XCHG\PCF\ipcfhdr.ebs; AT_PCF_HEADER_IN
    FOOTER_OUT = %Network_Root%\XCHG\PCF\opcfftr.ebs; at_PCFOut_footer
    POST_OUT = %Network_Root%\XCHG\PCF\opcfftr.ebs; at_PCFOut_post
    END_OUT = %Network_Root%\XCHG\PCF\opcfftr.ebs; at_PCFOut_end
    MAP_FILE_OUT = %Network_Root%\XCHG\PCF\pcf.ini
    FILE_EXT = PCF
    COMP_TRAVERSAL_MODE=1

    After the syspref.ini is changed, the opcfhdr file will be read from the project location rather then the individual workstation. Please note; the syspref.ini is on the local workstation and not the server, so it will need to be changed on each machine that will be creating Isogen drawings.

    See Also

    Product TechNotes and FAQs

    External Links

    Bentley homepage

    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!

     

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies