Applies To | |||
Product(s): | AutoPIPE | ||
Version(s): | CONNECT; | ||
Area: | Stress Isometric | ||
Original Author: | Bentley Technical Support Group | ||
Date Logged & Current Version | Feb. 2016 10.00.00.10 |
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” section
3. 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 works as expected.
2. Add a blank line between rules
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
Copy the following to the bottom of the "overrides.txt" file created above
#------------------------------------------------------------------------------
RULE : scale all supports
INCLUDE = IE_TYPE=CT_SUPPORT
SCALE = 6
Note:
1. Per functionality of OPIM, all the intelligent data properties associated with a component in isometric can be used in include statement but that list would be very large.
Like the following example in the same overrides file where a SIZE1 property can also be utilized to highlight any components. This data can be viewed by viewing component data tags.
# RULE : scale down all elbows with port size < 50 by a factor 2
# INCLUDE = IE_TYPE=CT_ELBOW && SIZE1 < 50
# SCALE = 3
# WEIGHT = 2
2. For the components used by AutoPIPE in isometrics, Use the following types which can be manipulated in rules:
CT_SUPPORT
CT_NOTE
CT_PIPE
CT_ELBOW
CT_BEND
CT_FITTING_CROSS
CT_FLANGE
CT_ECCENTRIC_REDUCER
CT_REDUCER
CT_TEE
CT_VALVE
CT_VALVE_ANGLE
CT_FLEX
3. Line Style is based on Microsoft Line style format:
4. Color is based on Microsoft color chart
Customize AutoPIPE Stress Isometric drawings