How Do I Create A New Custom Default Style And Font To Be Used In AutoPLANT PID [TN]


  
 Applies To 
  
 Product(s):AutoPLANT P&ID 
 Version(s):08.06.xx.xx, 08.09.xx.xx , 8.11.xx
 Environment: N/A
 Area: N/A
 Subarea: N/A
 Original Author:Bentley Technical Support Group
  

 

 

 

 

 

 

 

 

Overview

This Technical Bulletin outlines how to create a new custom Style that contains a default Font, Font Character Size, etc to be used with all text inside P&ID. 

1.Open AutoPLANT P&ID and type STYLE at the command name. This will load the STYLE window.
2.Create a new style with a default Font Name, Size, Height, etc.  This will be the new Style that P&ID will call in code later on. In this example we named our style "customstylename".
3.Save and Exit AutoPLANT P&ID.
4.Open the C:\Documents and Settings\All Users\Application Data\Bentley\Plant V8i\P&ID\Pid-sup.lsp file.
5.Search for the following section:

;; All text will use the text style "standard" unless the following variable
;; is set to another DEFINED style.
;(setq txtstyle "Standard")

(setq txtstyle "customstylename")

6.Notice in this section we created a new style named "customstylename" that is not remarked out.. When P&ID loads this is the default style that is loaded with the new default font, size, etc.

See Also

Product TechNotes and FAQs

Plant 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!