Nothing Special   »   [go: up one dir, main page]

Manual For SmartPlant 3D Hangers

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

MANUAL FOR SMARTPLANT 3D HANGERS &

SUPPORTS
VERSION: 2
AUTHOR: DANIEL DOLINSKY

This document contains support-related parts from Intergraph’s original documentation.

PROGRAMMING

Following are some code snippets to achieve common tasks in H&S assembly programming.

R EADING ATTRIBUTES FROM PRIMARY STEEL

parSteelThickness = my_IJHgrInputConfigHlpr.GetSupportingProperty("tf", 1)

R EADING ATTRIBUTES FROM SECONDARY STEEL

SteelWidth = GetProfileDim(T_SECTION, "Width", IJElements_PartOccCollection) 'Width, Depth, Flange, or Web


as 2nd argument

R EADING ATTRIBUTES FROM PARTS :

CLAMP_T = GetUserDouble(PIPE_CLAMP2, "G1", IJElements_PartOccCollection, my_IJHgrInputConfigHlpr)

R EADING ATTRIBUTES FROM ASSEMBLY BULKLOAD SHEET :

my_IJHgrInputConfigHlpr.GetAttributeValue "WTSize", Nothing, varTemp

SECTION_SIZE = varTemp

W RITING ATTRIBUTE VALUES TO PARTS :

my_IJHgrInputConfigHlpr.SetSymbolInputByName IJElements_PartOccCollection.Item(END_PLATE1), "THICKNESS",


PLATE_SIZE

R EADING STRINGS FROM CODELIST BY NUMBER :

Dim oCodeListData As IJDCodeListMetaData

Set oCodeListData = IJElements_PartOccCollection.Item(END_PLATE1)


END_PLATE_T = Val(oCodeListData.ShortStringValue("Utility_PlateThickness", PLATE_SIZE)) * 25.4 / 1000#

Set oCodeListData = Nothing

R EADING PIPE RADIUS :

Dim PipeRadius As Double


Dim strUnit As String
PipeRadius = (my_IJHgrInputConfigHlpr.GetPipeDiameter(oRoute, strUnit)) / 2#
Dim oUOMService As IJUomVBInterface
Dim unitID As Units
Set oUOMService = New UnitsOfMeasureServicesLib.UomVBInterface
unitID = oUOMService.GetUnitId(UNIT_DISTANCE, strUnit)
PipeRadius = oUOMService.ConvertUnitToDbu(UNIT_DISTANCE, PipeRadius, unitID)

W ITHOUT INSULATION :

PipeRadius = GetPipeODwithoutInsulation(GetExternalPipeDiameter(my_IJHgrInputConfigHlpr, 1), oRoute) / 2#

M EASURE DISTANCE BETWEEN TWO PORTS :

DistLeftClampRoute = my_IJHgrInputConfigHlpr.GetDistanceBetweenPorts("Route", "Struct_2", VERTICAL)

WHAT IS THE ASSEMBLY SELECTION RULE?

The assembly Selection rule is a Visual Basic program that runs to assist the Support modeler to choose an
appropriate support for the situation at hand. The program compares properties of each support loaded into the
catalog against the current situation being modeled.

The assembly selection rule is run only if the Rule checkbox in the Place Support by Point or Place Support by
Structure commands is checked.

The Assembly Selection Rule runs after the Select Route(s) and Select Structure(s) SmartSteps have been accepted.
At this point, the Type combo box is populated with the most appropriate set of supports for the given situation.

As mentioned above, the Assembly Selection Rule works by comparing a set of properties stored for each support
in the catalog against a set of rules programmed in the ASR VB program.
W HAT DETERMINES WHICH ASR IS U SED ?

The Assembly Selection Rule that is used to select the list of appropriate supports is determined by a filter. The
HgrDisciplineFilter sheet, from HS_System.xls, relates the interfaces on which the user is attempting to place a
support to the Assembly Selection Rule to be used for those interfaces. For example, if the user places a support
on a Straight Pipe Feature then the ASR that is used will be HgrAssmSelRule.CPipeSupport.

The HgrDisciplineFilter sheet will also determine the valid Discipline Type. In the case above, the Discipline Type is
set to 1 (Piping Supports Discipline). Therefore, the ASR can use this discipline type to filter out supports that are
not meant to be placed to pipe and only return supports with a discipline type of 1.

The discipline type for a given support is set on the support’s Excel sheet using the DisciplineType attribute.
The DisciplineType attribute is a code list defined in the AllCodelist.xls workbook. The code list has several valid
values as shown below.

As mentioned above, Only supports whose DisciplineType matches the DisciplineType determined by the
HgrDisciplineFilter sheet will be eligible.
D ELIVERED ASR’ S

The Following Assembly Selection Rules are delivered with the product:
 CAssemblySelectionRule
 CCableTrayDesigned
 CCableTraySupport
 CCombinedDesigned
 CCombinedSupport
 CConduitDesigned
 CConduitSupport
 CDuctDesigned
 CDuctSupport
 CPipeDesigned
 CPipeSupport
 CSecondaryRule1

The following columns from the Assembly Excel sheet are used by the various Assembly Selection Rules to
determine whether or not the support should be returned.

COMMANDTYPE

 The code that specifies which Hangers and Supports task command can use the assembly. Valid codes are
listed on the HngSupCommand sheet in the AllCodeLists.xls workbook in the Code list Number column.
 The ASR will only return supports that use this Command Type (By-Struct vs. By-Point)

By Structure Place By Structure Command 1


By Point Place By Point Command 2
All All Commands 511

DISCIPLINETYPE

 The code that represents the type of object that this assembly can support. Valid codes are listed on the
HngSupDiscipline sheet in the AllCodeLists.xls workbook in the Code list Number column
 Supports whose discipline type is 1(Piping) will only be returned by the ASR if the support is placed on
pipe.
Piping Piping Supports Discipline 1
Duct Duct Supports Discipline 2
Piping & Duct Piping & Duct Support Discipline 3
CableWay Cableway Supports Discipline 4
CableWay & Piping Cableway & Piping Supports Discipline 5
CableWay & Duct Cableway & Duct Supports Discipline 6
CableWay & Piping & Duct Cableway & Piping & Duct Supports Discipline 7
Conduit Conduit Support Discipline 8
Conduit & Piping Conduit & Piping Support Discipline 9
Conduit & Duct Conduit & Duct Support Discipline 10
Conduit & Piping & Duct Conduit & Piping & Duct Support Discipline 11
Conduit & Cableway Conduit & Cablewat Support Discipline 12
Equipment Equipment Support Discipline 16
Others Others
Combined Combined Support Discipline 256
All All Support Disciplines 511
Piping Designed Piping Designed Discipline 1025
Duct Designed Duct Designed Discipline 1026
Cable Tray Designed Cabletray Designed Discipline 1028
Conduit Designed Conduit Designed Discipline 1032
Combined Designed Combined Design Discipline 1280

TYPESELECTIONRULE

 The code that specifies the location of the supporting structure with respect to the route being supported.
Valid codes are listed on the HngSupTypeSelectionRule sheet in the AllCodeLists.xls workbook in the
Codelist Number column.
 For example, this attribute can be used to ensure that the support is only returned by the ASR if the Route
is below the supporting structure.

Top Structure Above Route 1


Bottom Structure Below Route 2
Above or Below Structure Above OR Below of Route 3
Beside (Left OR Right) Structure Besides Route 4
Right Structure Right of Route 5
Left Structure Left Of Route 6
Basic Directions Structure Above-Below-Besides Route 7
Intersection Structure Intersect with Route 8
Top Right Structure Above Right of Route 10
Top Left Structure Above Left of Route 11
Bottom Right Structure Below Right Of Route 12
Bottom Left Structure Below Left Of Route 13
All Directions Structure On All Directions 15
MINASSEMBLYLENGTH / MAXASSEMBLYLENGTH

 The minimum and maximum length from the supporting structure to the Route. Include the units of
measurement, in or mm for example, when specifying this value. (i.e.: 1500mm)
 The Support will be returned by the ASR if the distance from the supporting structure to the first selected
route is within the limits.

SUPPORTINGCOUNT

 The maximum number of supporting objects, a beam for example, to which the assembly can be attached.
Enter 1+ to indicate that the support can be attached to a variable number of supporting objects
 A support with SupportingCount = 1 will not be returned by the ASR if two structures are selected

SUPPORTEDCOUNT

 The maximum number of supported objects, a pipe for example, to which the assembly can be attached.
Enter 1+ to indicate that the support can be attached to a variable number of supported objects.
 A support with SupportedCount = 1 will not be returned by the ASR if multiple pipes are selected.

NDFROM / NDTO

 The minimum and maximum nominal diameter for the supported object. This option is only used for
conduit and pipe assemblies
 A support will only be returned by the ASR if the pipe Nominal Diameter is within the limits.

NOMINALWIDTHFROM / NOMINALWIDTHTO

 The minimum and maximum width of the supported object for the assembly. Include the units of
measurement, in or mm for example, when specifying this value. Used for rectangular supported objects
such as ducts.

NOMINALDEPTHFROM / NOMINALDEPTHTO

 The minimum and maximum depth of the supported object for the assembly. Include the units of
measurement, in or mm for example, when specifying this value. Enter 0 if the supported object is
circular. Used for rectangular supported objects.

SUPPORTEDFAMILY

 The type of supported object. Valid types are STRAIGHT, TURN, END, ALONG, BRANCH, ENTRYEXIT,
SEGMENT, SURFACE, TRANSITION and PART. Using END and PART allow you to place hangers on in-line
components. PART defines objects such as valves, flanges, tees. END defines end features (for example,
reducers).
 Supports with SupportedFamily = TURN will only be returned by the ASR if the support is placed on a turn.
LOADRANGELOW / LOADRANGEHIGH

 The minimum and maximum load for the assembly. Include the units of measurement, lbf for example,
when specifying this value.
 Not Currently used by the delivered ASR’s

MAXINSULATION

 Not Currently used by the delivered ASR’s

FACESELECTIONTYPE

 Not Currently used by the delivered ASR’s

Top Bottom Flanges Top/Bottom Face Selection 0


Left Right Webs Left/Right Web Selection 1
Top Bottom Left Right Webs Top/Bottom/Left/Right Web Selecion 2
Top Bottom Left Right Flanges Top/Bottom/Left/Right Flange Selecion 3
Bottom Top Bottom/Top Face Selection 4
Right Left Webs Right/Left Web Selection 5
Top Face Top Face Selection 100
Bottom Face Bottom Face Selection 101
Left Web Left Web Selection 102
Right Web Right Web Selection 103
Top Left Flange Top/Left Flange Selection 104
Top Right Flange Top/Right Flange Selection 105
Bottom Left Flange Bottom/Left Flange Selection 106
Bottom Right Flange Bottom/Right Flange Selection 107
Bottom flange of double cross section Bottom flange of double cross section 108
Top flange of double cross section Top flange of double cross section 109
Default Default Face Selection 1000

INSULATIONPURPOSE

 Not Currently used by the delivered ASR’s

Undefined 1
Undefined 1
Undefined Undefined 1
None 2
None 2
None None 2
Internal 5
Refractory lined 5
R11 Refractory lined, insulation 30
R15 Refractory lined, insulation/erosion 32
R18 Refractory lined, erosion 34
Pre-insulated 45
PREINS Pre-insulated 45
PREINSEHT Pre-insulated with electric heat tracing 50
External 10
Heat conservation 10
H Heat conservation 4
HS Heat conservation with sound attenuation 5
HF Heat conservation with fire protection 11
Cold conservation 15
C Cold conservation 15
CV Cold conservation, vacuum type 16
CS Cold conservation with sound attenuation 17
CF Cold conservation with fire protection 20
Other temperature 20
control
CH Heat and cold conservation 18
Frost proofing 50
FP Freeze protection 35
Fire proofing 55
FIP Fire protection 55
FIPHC Fire protection with heat conservation 60
FIPSA Fire protection with sound attenuation 65
FIPHCSA Fire protection with heat conservation and sound 70
attenuation
FIPCC Fire protection with cold conservation 75
FIPFP Fire protection with freeze protection 80
FIPEC Fire protection with external condensation protection 85
60
ECP External condensation protection 90
ICIP Icing protection 95
AS Surface condensation retardant 14
Safety 25
P Personnel protection 3
Building 30
PC Personnel comfort 36
Acoustical 35
S Sound attenuation 21
SV Sound attenuation with vapor barrier 22
SABY10 Sound attenuation in the area 500-2000 Hz by 10 dB 100
SABY20 Sound attenuation in the area 500-2000 Hz by 20 dB 105
SABY30 Sound attenuation in the area 500-2000 Hz by 30 dB 110
SAHC Sound attenuation with heat conservation 115
SAPERP Sound attenuation with personnel protection 120
SACC Sound attenuation with cold conservation 125
SAFRP Sound attenuation with freeze protection 130
SAEC Sound attenuation with external condensation 135
protection
Other 40
Varies Varies 40
SUPPORTTYPE

 Not Currently used by the delivered ASR’s

PipeSupport Pipe Support 10


Pipe Support 11
Anchor 12
Anchor - Rotational 15
Longitudinal Guide Horizontal 21
Longitudinal Guide Vertical 22
Penetration Plate 23
Longitudinal Guide Vertical and Horizontal 30
Travel Stop 31
Shoe Longitudinal Guide Horizontal 41
Shoe Longitudinal Guide Vertical 42
Shoe Longitudinal Guide Vertical and Horizontal 43
Shoe Travel Stop 44
Rod Hanger 45
Rod Hanger Double 46
Variable Spring 54
Variable Spring Double 55
Constant Spring 60
Constant Spring Double 61
Variable Spring Base 64
Constant Spring Base 68
Dynamic Restraint 70
Sway Strut 72
Structural 74
Riser Clamp 80
Riser Clamp Variable Spring 81
Straight Pipe Leg Extension 90
Elbow Leg Extension 91
Dummy Leg 95
DuctSupport Duct Support 100
Duct Support 101
CableSupport Cable Support 200
Cable Support 201
ConduitSupport Conduit Support 300
Conduit Support 301
CombinedSuppor Combined Support 400
t
Combined Support 401
P ARTS

PORTTYPE
Undefined Undefined 1
Route Route 2
Structure Structure 3
Revolute Revolute 11
Planar Planar 12
Translation Translation 13
Prismatic Prismatic 14
Rigid Rigid 15
Spherical Spherical 16
Cylindrical Cylindrical 17
PlanarSlot PlanarSlot 18
External Thread, RH External Thread, RH 1000
Internal Thread, RH Internal Thread, RH 1001
External Thread, LH External Thread, LH 1002
Internal Thread, LH Internal Thread, LH 1003
Rod Hole Rod Hole 1004
Pin/Bolt (for eye) Pin/Bolt (for eye) 1005
Pin/Bolt (for double lug) Pin/Bolt (for double lug) 1006
Eye Eye 1007
Single Lug Single Lug 1008
Double Lug Double Lug 1009
Clevis Clevis 1010
Steel Steel 1011
Weld Weld 1012
Bolted Connection Bolted Connection 1013
Beam Clamp Beam Clamp 1014
Pipe Pipe 1015
Pipe Clamp Pipe Clamp 1016
U-Bolt U-Bolt 1017
Roller Roller 1018
Saddle/Shield Saddle/Shield 1019
Saddle/Shield Base Saddle/Shield Base 1020
Pipe Attachment Pipe Attachment 1021
Strut Eye Strut Eye 1022
Strut Pin Strut Pin 1023
Shock Absorber Shock Absorber 1024
Shock Extension Shock Extension 1025
Spring Spring 1026
Spring Extension Spring Extension 1027
Stanchion Stanchion 1028
Trunnion Trunnion 1029
Other Other 1200
CableTray Cable Tray 1300
Conduit Conduit 1350
Duct HVAC Duct 1400
HVACRoundDuct HVAC Duct Round 1410
HVACRectangularDuct HVAC Duct Rectangular 1420
HVACOvalDuct HVAC Duct Oval 1430

You might also like