You are currently reviewing an older revision of this page.
How to modify thickness of line representing pipe on an AutoPIPE Stress Isometric using OPIM?
One can change thickness of line representing from Style.XML file.
1. This file is located at “[InstallationDirectory]\isoextractor\projects\project01\stress\Config\style.xml”.2. Open this file in any text editor and track down “PipeSymbology” section3. In this section you can change “LineWeight” property. By default the value is 4
A. In order to use this option, you will need to create and use an override file to achieve the desired result. Copy the following text to a NotePad TXT file:
#------------------------------------------------------------------------------# OVERRIDES## Allows the user to override the default component appearance/behavior. It# overrides any settings as made in Configuration Manager.## The file may contain multiple overrides. The basis format for an override# definition is:## RULE <any test explaining the rule># INCLUDE = <reg exp># EXCLUDE = <reg exp># <override> = <value>## INCLUDE/EXCLUDE are used to define a selection of component for which the# the overrides are to be applied. Zero or more# INCLUDE/EXCLUDE lines are allowed# <override> is a keyword that indicated what needs to be overriden. One# or more overrides can be used in the same RULE## Currently the following ovveride kewords are recognized: ## COLOR: Sets the color of the component symbol to a Microstation color number# Example: COLOR = 2## STYLE: sets the style of the component symbol to a Microstation style name or number# Example: STYLE = 2# STYLE = { DASHED }## WEIGHT: sets the weight of the component symbol to a Microstation number# Example: WEIGHT = 2## LEVELNAME = set the level of the component symbol to a Microstation level.# The level is created on demand# EXAMPLE: LevelName = My level## DIMENSION: Enable/disable individual component dimensioning# EXAMPLE: Dimension = 0 disable individual component dimensioning# EXAMPLE: Dimension = 1 enable individual component dimensioning## MIDPOINT: Enable/disable midpoint dimension on a component# EXAMPLE: Midpoint = 0 disable midpoint dimensioning on this component# EXAMPLE: Midpoint = 1 enable midpoint dimensioning on this component## SCALE: Set the scale (size) of a component symbol# EXAMPLE: Scale = 3 Makes the symbol 3 times ithe standard size# Scale = 0.5 Makes the symbol ihalf the standard zise## ShowTracing: Influence display of tracing# EXAMPLE: ShowTracing = 1 enable display of tracing# ShowTracing = 0 disable display of tracing## ShowInsulation: Influence display of insulation# EXAMPLE: ShowInsulation = 1 enable display of insulation# ShowInsulation = 0 disable display of insulation##------------------------------------------------------------------------------## EXAMPLES## RULE : scale all elbows with a factor 3 and display with weight 2# INCLUDE = IE_TYPE=CT_ELBOW# SCALE = 3# WEIGHT = 2## RULE : scale down all elbows with port size < 50 by a factor 2# INCLUDE = IE_TYPE=CT_ELBOW && SIZE1 < 50# SCALE = 3# WEIGHT = 2## RULE : Display valves with port sizes > 200 and < 50 in a different color# INCLUDE = EC_CLASS=.*VALVE.* && SIZE1 > 200# INCLUDE = EC_CLASS=.*VALVE.* && SIZE1 < 200# COLOR = 3##------------------------------------------------------------------------------
B. Save the file as:
"overrides.txt"
C. Copy the file to the following location:
C:\ProgramData\Bentley\AutoPIPE CONNECT \isoextractor\projects\project01\stress\Config
D. Customize the file:
1. Open the file in Notepad or equivalent application.
2. Scroll to the bottom of the file and add new rules as needed.
Note:
1. Suggest adding one at a t time and testing to be sure that it warked as expected.
2. Apart from comments in file, there is one rule defined in the file that changes weight of all the flange/valve and bends to weight 2.
3. Add a blank line between rules
Example:
Copy the following to the bottom of the "overrides.txt" file created above
#------------------------------------------------------------------------------
RULE : scale all Elbows/Flanges/Valves/Tees display with weight 2 INCLUDE = IE_TYPE=CT_VALVE|CT_FLANGE|CT_BEND|CT_TEE# SCALE = 3 WEIGHT = 4
1. Line Style is based on Microsoft Line style format:
2. Color is based on Microsoft color chart
Customize AutoPIPE Stress Isometric drawings
Bentley AutoPIPE
Bentley Technical Support KnowledgeBase
Bentley LEARN Server
Bentley's Technical Support Group requests that you please submit any comments you have on this Wiki article tothe "Comments" area below. THANK YOU!