TM-2242 AVEVA Marine (12.1) Equipment Seat Application Rev 3.0
TM-2242 AVEVA Marine (12.1) Equipment Seat Application Rev 3.0
(12.1)
TRAINING GUIDE
Equipment Seat Application
TM-2242
www.aveva.com
AVEVA Marine (12.1)
Equipment Seat Application TM-2242
www.aveva.com
2
AVEVA Marine (12.1)
Equipment Seat Application TM-2242
Revision Log
Date Page(s) Revision Description of Revision Author Reviewed Approved
Nick R,
23/05/2012 All 0.1 Issued for review Bright K, Wayne R
Ginny S
Nick R,
12/06/2012 All 0.2 Feedback updated Wayne R
Ginny S
Nick R,
20/06/2012 All 1.0 Approved to issue Wayne R Wayne R
Ginny S
Nick R,
03/01/2013 All 2.0 Updated to 12.1.SP3 Wayne R
Elva L
Updated to 12.1.SP4 Nick R,
15/05/2013 All 3.0 Wayne R
Approved for Training Elva L
Updates
All headings containing updated or new material will be highlighted.
Suggestion / Problems
If you have a suggestion about this manual or the system to which it refers please report it to the AVEVA
EDS - Training & Product Support at [email protected]
This manual provides documentation relating to products to which you may not have access or which may
not be licensed to you. For further information on which products are licensed to you please refer to your
licence conditions.
Disclaimer
1.1 AVEVA does not warrant that the use of the AVEVA software will be uninterrupted, error-free or free
from viruses.
1.2 AVEVA shall not be liable for: loss of profits; loss of business; depletion of goodwill and/or similar losses;
loss of anticipated savings; loss of goods; loss of contract; loss of use; loss or corruption of data or
information; any special, indirect, consequential or pure economic loss, costs, damages, charges or
expenses which may be suffered by the user, including any loss suffered by the user resulting from the
inaccuracy or invalidity of any data created by the AVEVA software, irrespective of whether such losses are
suffered directly or indirectly, or arise in contract, tort (including negligence) or otherwise.
1.3 AVEVA's total liability in contract, tort (including negligence), or otherwise, arising in connection with the
performance of the AVEVA software shall be limited to 100% of the licence fees paid in the year in which the
user's claim is brought.
1.4 Clauses 1.1 to 1.3 shall apply to the fullest extent permissible at law.
1.5 In the event of any conflict between the above clauses and the analogous clauses in the software
licence under which the AVEVA software was purchased, the clauses in the software licence shall take
precedence.
Copyright
Copyright and all other intellectual property rights in this manual and the associated software, and every part
of it (including source code, object code, any data contained in it, the manual and any other documentation
supplied with it) belongs to, or is validly licensed by, AVEVA Solutions Limited or its subsidiaries.
All rights are reserved to AVEVA Solutions Limited and its subsidiaries. The information contained in this
document is commercially sensitive, and shall not be copied, reproduced, stored in a retrieval system, or
transmitted without the prior written permission of AVEVA Solutions Limited. Where such permission is
granted, it expressly requires that this copyright notice, and the above disclaimer, is prominently displayed at
the beginning of every copy that is made.
The manual and associated documentation may not be adapted, reproduced, or copied, in any material or
electronic form, without the prior written permission of AVEVA Solutions Limited. The user may not reverse
engineer, decompile, copy, or adapt the software. Neither the whole, nor part of the software described in
this publication may be incorporated into any third-party software, product, machine, or system without the
prior written permission of AVEVA Solutions Limited, save as permitted by law. Any such unauthorised
action is strictly prohibited, and may give rise to civil liabilities and criminal prosecution.
The AVEVA software described in this guide is to be installed and operated strictly in accordance with the
terms and conditions of the respective software licences, and in accordance with the relevant User
Documentation. Unauthorised or unlicensed use of the software is strictly prohibited.
Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved. AVEVA
shall not be liable for any breach or infringement of a third party's intellectual property rights where such
breach results from a user's modification of the AVEVA software or associated documentation.
AVEVA Solutions Limited, High Cross, Madingley Road, Cambridge, CB3 0HB, United Kingdom
Trademark
AVEVA and Tribon are registered trademarks of AVEVA Solutions Limited or its subsidiaries. Unauthorised
use of the AVEVA or Tribon trademarks is strictly forbidden.
AVEVA product/software names are trademarks or registered trademarks of AVEVA Solutions Limited or its
subsidiaries, registered in the UK, Europe and other countries (worldwide).
The copyright, trademark rights, or other intellectual property rights in any other product or software, its
name or logo belongs to its respective owner.
1 Introduction .............................................................................................................................................. 7
1.1 Aim .................................................................................................................................................... 7
1.2 Objectives ......................................................................................................................................... 7
1.3 Prerequisites .................................................................................................................................... 7
1.4 Course Structure ............................................................................................................................. 7
1.5 Using this Guide .............................................................................................................................. 7
4 Defaults................................................................................................................................................... 25
1 Introduction
This course is aimed at Equipment Designers/ Engineers with AVEVA Marine Equipment Design skills; this
application shows how to create, modify and delete various types of equipment seats – including any
additional equipment components – which are required during the design stages of a project. Equipment
Seat Application is based on an engineering standard that is configured to the project requirements.
1.1 Aim
Over one and a half days the participants will learn to use AVEVA Equipment Seat Application and obtain a
good understanding of how the application can help with Design.
1.2 Objectives
1.3 Prerequisites
AVEVA Outfitting, AVEVA Marine Drafting and the application software have been installed with
valid licences and the basic configurations have been setup correctly.
The user knows how to launch the Outfitting module.
The user is familiar with Windows Operating System installed on the computer.
The user is familiar with the basic Graphical User Interface (GUI) features, as described in the
AVEVA document Getting Started with Marine.
Training will consist of oral and visual presentations, demonstrations and set exercises. Each workstation
will have a training project, populated with model objects. This will be used by the trainees to practice their
methods, and complete the set exercises
Certain text styles are used to indicate special situations throughout this document, here is a summary;
Menu pull downs and button click actions are indicated by bold dark turquoise text
Information the user has to key-in will be in bold red text
System prompts should be bold and italic in inverted commas i.e. 'Choose function'
Example files or inputs will be in the Courier New font, colours and styles used as before.
The Equipment Seat Application (ESA) is a fully interactive, graphics oriented application that functions
within Equipment and Structures of AVEVA Hull & Outfitting modules.
The application uses a topological design approach in order to provide a simple, fast and error-free design
environment. Thus the individual equipment seat is modeled according to predefined rules using information
of the general layout of equipment and of the supported hull structure arrangements, typically consisting of
plate and stiffener profiles.
It also provides a configurable and flexible environment, so the user can easily add their own seat templates
and make configuration contexts as many as needed.
All Outfitting data is stored in the form of a hierarchy. An Outfitting Design database has:
a top level, World (this can be represented by the symbolic name /* ) and
two principal administrative sub levels, Site and Zone.
The names used to identify database levels below Zone depend on the specific engineering discipline for
which the data is used. For seal modelling data, the lower administrative levels (and their Outfitting
abbreviations) are:
Structure (STRU)
Substructure (SUBS)
Template (TMPL)
Design pointset (DPSE) contains information of seat dimensions to preview in the 3D View.
Design dataset (DDSE) contains information of template properties which are required to create a
seat model, such as dimensions, specifications, earth bolt position, etc.
Profile section (SCTN) and panel (PANE) can be different according to a seat type
To start the application, the user must install the application and configure the environment properly.
set esadir=C:\AVEVA\Marine\Design\EquipmentSeat12.1.SP4\
for %%x in ("%esadir%") do set esadir=%%~dpx
if not exist "%esadir%" goto esapass
echo esadir set to %esadir%
for %%x in ("%pmllib%") do set pmllib=%%~dpx;
set pmllib=;%pmllib%%esadir%pmllib\;
echo pmllib set to %pmllib%
for %%x in ("%pdmsui%") do set pdmsui=%%~dpx;
set pdmsui=;%pdmsui%%esadir%pdmsui\;
echo pdmsui set to %pdmsui%
:esapass
The application is delivered with datal files for design template, steel catalogues, user defined attributes and
sample configurations in the ProjectData directory which is below the installation directory. The files should
be executed in the World element and writable database:
To start AVEVA Marine application, select Start > All Programs > AVEVA Marine> Design > Marine
12.1.SP4> Outfitting.
The AVEVA Marine – Outfitting Login box appears, enter the following data:
Project Training
Username OUTSTL
Password OUTSTL
MDB OUTSTEELFWD
Click Login.
Setting the project to Training on the AVEVA Marine – Outfitting Login form will result in the use of the
Marine Training Project; this will be referred to as MTP for the remainder of this guide.
3.1 Contexts
The administrator can define contexts for equipment seat modelling according to the company’s standards.
A context contains Design Groups and Material specification components.
In the ESA - Contexts form, the user can find Department1 registered as default. If the user creates a new
context using the Copy button, Design Groups and Design Group Members that belong to Department1 are
also copied.
Click a row in the list to activate Edit Design Groups… and Edit Materials…
link labels.
In the following example, the user will create a context to be used throughout this training course.
A design group is a set of seat template. Click the Edit Design Groups… link label in the ESA - Contexts
form and open the ESA - Context - Design Groups form. It consists of four parts; Design Groups, Design
Group Members, Seat Templates and Preview.
Design Group Members – The user can manage members for each design group:
Select – Bring the name and the seat type of a selected seat from the Seat Templates list
Include – Include a new member to the design group with a specific name and a seat type
Unless the user clicks on list, the Include button may not be activated.
Replace – Replace a selected member with a new name and a new seat type
Remove – Remove a selected member from the design group
Left/Right arrow – Move a selected member to the left/right
Seat Templates – The user can inquire all the seat templates belong to a selected context
Apply – Save the design groups and their members into the database. Until the user clicks the button,
changes will not be saved.
In the following example, the user will include, modify and remove members of the context Train_Seat.
Click Include.
Now the seat template E-01 became a member of the current design group.
In the following example, the user will modify a member created above.
Then select the Design Group, G1 and click the Edit Design Groups… link label to open the ESA -
Context - Design Groups form.
In the following example, the user will remove an existing member from the current design group.
Then select the Design Group, G1 and click the Edit Design Groups… link label to open the ESA -
Context - Design Groups form.
In this exercise, the user will learn how to organise design group members for design groups of the context
Train_Seat.
Referring to the below picture, create new design groups G1, G2 and G3 using the New button
3.3 Materials
There are several types of material used in the application; for example, profile, pad, plate and earth bolt.
The administrator should define such materials in advance before modelling.
Click Edit Materials... in the ESA - Contexts form to open the ESA - Context - Materials form.
It consists of three tabs:
Profile & Pad
Plate
Earth Bolt
The user can match a profile pad with a profile; and the set pad will be selected automatically when it is
required for a profile.
The user can manage earth bolt specification components for seat models.
To make a fitting specification element for earth bolts visible in Specification Data, the attribute:
ESAEarthBolt must be set to true.
In this exercise, the user will compose materials for a context. The settings will be used throughout this
training course.
4 Defaults
The user can predefine default values which are often used for seat equipment modeling according to the
company’s standards. Default values are stored by the user.
In the ESA - Designer form, click the Show defaults form button; or right click Show defaults form and
select Defaults...
Bolt Hole Margin – Key in a default margin of a bolt hole. The bolt hole diameter of a seat model is
determined by the bolt hole diameter of target equipment as well as this value;
i.e. Bolt hole diameter of a seat model = Bolt hole diameter of equipment + Bolt hole margin * 2
Pad: If it is checked, a profile pad is inserted between a wall and profile members (legs) of the
framework to avoid adverse local welding as well as stress concentration effects.
Fit Legs to Plane: If it is checked, all leg ends of a seat model are trimmed by the plane where the
legs are welded.
Weld Mark: If it is checked, weld marks are created while modelling. A weld mark is a SNOD
element whose purpose is WELD.
Suppress Message Box: If it is checked, an error or warning message is not populated while
modelling.
Hide Local Axes: If it is checked, local axes aid elements are hidden.
In the following example, the user will generate a site and set default values to be used throughout this
training course.
Select Design > Structures > Panels & Plates… from the main pull-down menu.
Open the ESA - Defaults form and set the values as follows:
Context Train_Seat
Zone /TRAIN_311_SEAT
Install Stage BLOCK
Paint Code E1
Profiles ANG / BS-SPEC/45x45x4.0
Plate /Plate/5mm
Earth Bolt /ESA-EBLT-SW-11
Earth Bolt Pos. Right
Bolt Hole Margin 0.00mm
Fit Legs to Plane On
The bolt information is used to determine the location, the orientation and dimensions of an equipment seat
intelligently. If it is not prepared against target equipment in advance, the user has to input all information
one by one manually when creating a seat and it takes time and effort. For speedier and more convenient
equipment seat installation, it is recommended for the administrator to define this bolt information before
starting seat modelling. There are two methods to add the information:
The administrator can add bolt information using a design point, such as direction, diameter, position, etc., at
any position of existing equipment. There are three types of design point:
Cartesian (DPCA)
Cylindrical (DPCY)
Spherical (DPSP)
But the administrator must use a Cartesian design point for bolt information.
To mark bolt information using design points, there are some attributes to be set:
Cartesian Point
The Modify pull-down menu will show differently according to a selected point type.
To reuse the bolt hole information for equipment seat installation, the following attributes should be set:
Box
Cylinder, Cone, Circular Torus, Extrusion, Snout, Pyramid or Rectangular Torus
Dish
Others
In this exercise, the user will create design points for an equipment seat.
Navigate to the ESA_EQUI_014-1 in the Design Explorer and create a design point as follows:
Description Bolt1
Function 14mm
Purpose BOLT
Direction of Design Point(z) Y
Normal Direction(Y) Z
In this exercise, the user will create negative cylinders for an equipment seat.
Navigate to the ESA_EQUI_005 in the Design Explorer and create four negative cylinders:
Height 7mm
Diameter 10mm
The ESA - Designer form is the main of the application, and it mainly consists of two areas; toolbar buttons
and design group tabs.
Create new seat model – The user can create a new seat model using with function. Refer to section 6.2
for more details.
Modify seat model – The user can modify a seat model with this function. Refer to section 6.3 for more
details.
Mark as non-standard type – The user can make a seat model(s) as the non-standard type.
Click Mark as non-standard type and pick a seat model(s).
Press the Escape key to finish picking and to change the picked ones as the non-standard type.
Add/Delete profile pad – The user can add or delete a pad to/from a profile.
Click Add/Delete profile pad, and the ESA - Profile Pad form is open.
Check Use Predefined Pad to use predefined values in the Profile & Pad tab, the ESA - Context -
Materials form (refer to section 3.3.1); or uncheck Use Predefined Pad and select a specific pad
component manually.
Lastly pick a profile end. If the profile end has no pad, a new pad will be created; but if it already has
a pad, the pad will be deleted.
Press the Escape key or close the ESA - Profile Pad form to finish adding/deleting a profile pad(s).
Add/Delete snip – The user can add or delete a snip to/from an angle.
Click Add/Delete snip, and the ESA - Snip form is open.
Key in the Length and the Height of a snip.
Lastly pick a profile end. If the profile end has no snip, a new snip will be created; but if it already
has a snip, the snip will be deleted.
Press the Escape key or close the ESA - Snip form to finish adding/deleting a snip(s).
Add/Delete weld mark – The user can add or delete a weld mark(s) to/from a profile end.
Click Add/Delete weld mark and pick a profile end. If the profile end does not have a weld mark, a
new weld mark will be created; but if it already has a weld mark, the weld mark will be removed.
Press the Escape key to finish adding/deleting a weld mark(s).
Add/Delete note – The user can add/delete a note(s) to/from a profile end.
Click Add/Delete note and pick a profile end. Then the Input form is open.
Key in the note content.
If there is an existing note, the content is displayed; change the content and click OK to modify.
If the user does not input anything, the existing note will be deleted.
Press the Escape key to finish adding/deleting a note(s).
Working plane – The user can make a plane as the current working plane when modelling several seats on
a single plane.
Click Working plane and select a plane in the 3D View.
Press the Escape key.
As the plane is selected, the Working plane toggle button is on (in its pressed state). Then while
the user is modelling seats, the selected plane is picked automatically.
To make the toggle button off, click the button again.
CE: Select an element in the Design Explorer and click CE to make a target to be clipped. The
name of the selected one is displayed in the text box. The initial clipping box limits are determined
according to the element volume. The size of clipping box is adjustable by controlling slide bars.
Pick: Pick an element in the 3D View and click Pick to make a target to be clipped. The name of the
selected one is displayed in the text box. The initial clipping box limits are determined according to
the element volume. The size of clipping box is adjustable by controlling slide bars.
Step: Key in a step value for slide bars of the Clipping Box area.
Show Boundary: Check to display a boundary box in the 3D View.
Enable Clipping: Check whether to display a clipped model or a whole model.
Show report form – The user can manage a report including production data for seal models. Refer to
section 8.1 for more details.
Show template view form – The user can check a selected seat template in a separated volume view.
Click Template view, and the ESA - Template View form is open.
The user can view a selected seat template with predefined dimensions. The small sphere in the
centre of the view is the origin point of the seat template.
The user can create a seat model following the below processes:
1. Choose a template:
In the ESA - Designer form, choose a template from design group tabs or select the All tab.
3. Pick participants:
The user can identify one or multiple participants, such as equipment, hull plate(s) and stiffener(s),
which are to be supported as well as a facet(s) where a seat is welded. The indicated equipment or
hull structure will be highlighted with the system highlight colour. If the user clicks the highlighted
once again, the element will be deselected.
Target equipment is picked A landing plane is picked
A seat structure is to be welded on a vessel’s hull structure. Typically a seat model is attached on a
hull structure (plate), for example deck plate, inner bottom plate, bulkhead plate, sloped plated,
vertical plate, etc.
Press the Escape key to finish picking, and the ESA - Designer - Create form is open.
4. Edit properties:
The user can modify properties for a creating seat, such as materials, dimensions, orientation,
positions, etc.
Basic Data
Zone – Input the name of a zone element
where a creating seat is to be stored. To
select the current zone, click CE.
Name – Input the name for a creating seat
Auto Naming – Click to apply the auto
naming rule. To define the naming rule, select
Settings > Naming… and click Define
Naming Rules, and the Naming Rules form
is open. The administrator can a defining rule
by clicking the Element Rules… button in the
form.
Default values are displayed in the form, but the user can still modify them.
Dimensions – The associated handler object (refer to section 10.3) calculates all dimension values
automatically by selected equipment and landing planes (from the above process, ‘Pick
participants’):
Pick Position: Click Pick Position and pick the seat in the 3D View to identify its position.
Refit – Reselect target equipment and a landing plane(s) and modify the current seat model when
the user wants to change target equipment
Navigate to SITE /ESA_Training in the Design Explorer and add the datal file, ESA_Equip_DATAL.txt
beneath the SITE to create sample equipment. Then a new zone, TRAIN_311_EQUI will be created.
Add the following equipment and hull panels to the 3D View to be referred in seat modelling.
Hull Block F204
ZONE TRAIN_311_EQUI
Using the type ESASEATBAC, create a seat /TRAIN_311-SEAT-001 as the wall type for EQUI
/ESA_EQUI_013.
Key in a 80mm.
Using the type ESASEATFAG, create a seat /TRAIN_311-SEAT-002 as the deck type for EQUI
/ESA_EQUI_013.
Key in a 70mm and b 40mm.
Using the type ESASEATFAT, create a seat /TRAIN_311-SEAT-003 as the deck type for EQUI
ESA_EQUI_009.
Then modify the seat leg with the Fit leg function (refer to section 6.1.1) as shown in the picture.
The procedure of modifying a seat model is very similar to seat model creation, except for picking
participants; i.e. when picking them, the user should identify an existing seat model to modify.
1. Click Modify seat model in the toolbar of the ESA - Designer form to initiate the modification mode.
Pay attention to the message displayed on the top of the 3D View.
2. Pick an existing seat model, EQUI, a facet to modify in the 3D View. Refer to section 6.3 for more
details.
3. Then the ESA Designer - Modify form is open. Modify values needed.
In the above process 2, ‘Pick existing seat models to modify’; the user can pick a seat only.
If the user change an H value, the leg end will be modified accordingly.
In the above process 2, ‘Pick existing seat models to modify’; the user can pick not only a seat, but also
EQUI.
In the above process 2, ‘Pick existing seat models to modify’; the user can pick not only a seat, but also a
facet.
If the user change an H value, the fitting part with EQUI will be modified accordingly with fixing the leg ends
on the plane.
In the following example, the user will pick a seat and a facet and modify an H value.
Pick the seat TRAIN_311_SEAT-001 and the facet where the seat is attached on.
Change H to 200mm.
7 Material Modification
All elements of a seat model must have valid material references. If not, the weight of the seat model cannot
be correctly calculated. In this chapter, the user can change the material of a seat model irrespective of the
default specification material.
Select Modify > Material... in the pull-down menu, and the Set Material form will be open.
Select the element to be modified. It can be the CE, selected from a list or picked with the
cursor in the 3D View.
Select the material from the scrollable list and click Apply to change the material.
Click Dismiss to discard any information and close the Set Material form.
If Cascade Material to all offspring. is chedked, any associated items, for example fitting, have their
material changed as well.
In this chapter, the user will learn how to produce outputs, such as report and sketch, from design data;
navigate to a level in the Design Explorer and produce a list of equipment seat.
8.1 Report
The user can manage a report from production data for seat models.
Click the Show report form button in the ESA - Designer toolbar, and the ESA - Report form will be
displayed.
Search – Search all seat models that meet the Filter conditions.
Navigate to Model – Check if the user wants to navigate a selected seat model (from the list) in the Design
Explorer
Focus on Model – Check if the user wants to highlight a selected seat model (from the list) in the 3D View.
Pop-up menu (1) – Select a row and right click to see more options for report management:
Pop-up menu (2) – Select a cell and right click to see more options for report generation, for example
Revision, Stage, Description and Paint Code:
Fill Up: For multi selection, paste up from the undermost cell.
8.2 Sketch
After creating or modifying equipment seats, the user can produce a sketch.
To enter the Marine Drafting module, select Start > All Programs > Marine Drafting…
The administrator can insert a new menu item for Equipment Seat Application.
Right click the toolbar and select Customize...
Drag the new button command and drop at the last position under A&utoDP.
Click Apply to save and then close the customised menu bar.
Double check whether the menu is inserted successfully.
The user can search a seat model(s) in the Design Explorer and generate a sketch using a drawing template.
A produced sketch will be stored in the Draft database. This sketch includes dimensions and scale drawings
of a seat along with the table of relevant manufacturing information.
Select Design > Module > Marine Drafting… and enter the Marine Drafting module.
The user should choose a template and a registry to store sketches before generating a sketch.
If there is a problem in a seat modeling, the Status will display ‘Failed’ and the sketch will not be generated.
Pop-up menu – Right click the Equipment Seat Sketches list to see more options to manage sketches:
Administrator Only
This section will demonstrate how to modify a sheet template for sketch generation.
Select Start > All Programs > AVEVA Marine> Design > Marine 12.1.SP4 > Outfitting Draft.
Project Training
Username OUTSTL
Password OUTSTL
MDB OUTSTEELFWD
Click Login.
Then select Draft > Sheet Libraries… to enter the Sheet Libraries.
The following example will describe a relationship between a backing sheet and a template.
A backing sheet is referenced by the SHTMPL element via the BSRF attribute. It contains several elements
organised within a series of the NOTE elements.
Select BACK ESA-Sketch-BackSheets/A4-A and then right click to display the context sensitive menu.
Select Open Sheet.
Page_no on the top as well as elements at the bottom are created by ESA-Sketch-Templates/A4-
A/S1/TitleEntries.
Select SHIP NO on the sheet template view and change the attribute Btext to VESSEL NO.
Instead of selecting SHIP NO on the sheet template view, the user can select TEXP 5 below.NOTE
ESA-Sketch-BackSheets/A4-A/Frame.
Now the following example, the user will learn how to modify a backing sheet.
From the main pull-down menu, select Edit > Move Primitives By > X, Y…
Select primitives, i.e. the lines and text that are required to be repositioned and then press the Escape key.
To apply the changes previously made from the backing sheet to the sheet template, select Graphics >
Update > All.
Select ESA-Sketch-Templates/A4-A/S1/V3.
Key in Size 75mm 75mm and Xyposition X 54mm Y 105mm in
the Command Window.
The view direction against the seat model will be modified as follows:
Direction: Y Direction: -X
-X
The direction of region vertical on the sheet will be modified in the 90° clockwise rotation as follows:
ESA-Sketch-Templates/A4-A/S1/V1
Size 75mm 75mm
Xyposition X 54mm Y 250mm
Rcode Right
ESA-Sketch-Templates/A4-A/S1/V2
Size 75mm 75mm
Xyposition X 151mm Y 250mm
ESA-Sketch-Templates/A4-A/S1/V3
Size 75mm 75mm
Xyposition X 54mm Y 160mm
Direction –X
ESA-Sketch-Templates/A4-A/S1/V4
Size 75mm 75mm
Xyposition X 151mm Y 160mm
Direction –Y
ESA-Sketch-Templates/A4-A/S1/MtoEntries
Xyposition X 0mm Y -180mm
ESA-Sketch-BackSheets/A4-A/MtoTable
Xyposition X 0mm Y -160mm
Set the Lframe attribute of VIEW back to False to remove four views.
Create a seat sketch for EQUI ESA_EQUI_009 created in Exercise 5 using the updated template and
backing sheet.
In this chapter, the user will define and add a new seat type.
Select Create > Template World and create a new Template World element:
Name /MYSEATTMPL.TPWL
Purpose ESA
Description Template world for seat templates
Select Create > Template Area and create a new Template Area element:
Name /MYSEATTMPL.TMAR
Purpose ESA
Description Template area for seat templates
In the following example, the user will create a template (TMPL) from an existing structure element.
Navigate to the Framework (FRMW) element of the structure, /MYSEAT in the Design Explorer.
Select Create > Template, and the Create Template form will
be open.
Name /MYSEATAAA
Description My Seat Type AAA
Click OK.
The 3D View will now show both the original structure and the template derived from it (They are overlapped
each other). From the Template Browser, click Display to display the current template only in the 3D View.
Select the new template element TMPL MYSEATAAA in the Design Explorer and select Display >
Attributes from the main pull-down menu. The Attributes form will be displayed.
Check a selected element in the Template Browser is the working TMPL element, and select Modify >
Property Definitions. The Define Template Properties form will be open:
Description W1
Key WIDA
Definition Design Parameters
No 1
Data Type Distance
Default 150mm
Range unset
Repeat the above process to add the following property definitions into the list:
The Key of this property must be EBPS and its value must be 1 (left), 2 (centre) or 3 (right).
Define the next property, i.e. the overall width of the angle which has bolt holes. It will be decided from the
summation of the WIDA, DISA and DISB properties.
Description W
Key WID
Definition Expression
Data Type Distance
Default 150mm
expr CDPR DISA + CDPR WIDA + CDPR DISB
Range unset
Description Angle
Key EASP
Definition Specification Ref
Data Type Spec Ref
Default ID /BS-SPEC/50x50x5.0
Define the next property to be used to determine a specification component of earth bolt:
The Key of the property for a specification component of earth bolt must be EBSP.
Using the template property values defined from the previous section, the user can parameterise members
of a template instance.
Check the new seat template element (TMPL), My Seat Type AAA is still selected in the Template
Browser form.
Then the Attribute Rule form will be open. The user can define rules for the selected attribute Spref.
By clicking Test Expression, the user is able to check the result how the rule is to be applied. If no real
design data has been created, the result will be set by the rule with a default value of the property, EASP
(specified as /BS-SPEC/50x50x5.0).
Click OK to accept the rule. Check the changed result in the Rules list of the Template Member
Parameters form.
(SCTN 1 is still selected as a template member.) Select Posstart and Posend in the Rules list and define
the attribute rules as follows:
In the Template Members list of the Template Members Parameters form, select the Element FITT 1
which is a bolt hole on the right side of the angle, and define the attribute rules as follows:
The diameter and height of the hole (whose Spref is /ESA-PROF-HOLE-TYPE-O) are controlled by the
design parameters of the fitting element:
To define the rule for the first design parameter, select the Attribute Desparam in the Rules list and key in
the Expression LDPR BDIA OF TMPLATE.
Select the Attribute Desparam[2] and key in the Expression PARA[3 ] OF OWNER * 1 mm.
In the Template Members list of the Template Members Parameters form, select the Element FITT 2
which is a bolt hole on the left side (on the start side) of the angle, and define the attribute rules as follows:
Select the Element FITT 3 which is an earth bolt, and define the attribute rules as follows:
In the Template Members list, select the Element, SCTN 2 which is a fitting for a pad, and define the
attribute rules as follows:
Select the Element FITT 1 for pad under SCTN 2 and define the attribute rule as follows:
Zdistance ABS ( POSS[3 ] OF SCTN WRT SCTN - POSE[3 ] OF SCTN WRT SCTN )
It makes the position of the pad always be at the end position of the angle whenever the rule is executed.
Select Create > Dimension Points in the main pull-down menu, and the Dimension Point Definition form
will be open. In this form, the user is able to specify position (Dimension Position), extension line length
(Dimension Extension) and extension line direction (Dimension Direction) with dimension points in pairs.
Click (next to Dimension Position), and the Position Rule Definition form is displayed.
To position 101 at the centre of the bolt hole on the right side, key in the Dimension Extension, 100mm and
the Dimension Direction, Y. Then the projection line from this point is directed towards Y and just reaches
the centre of the right bolt hole.
Select the Dimension Point 102. Comparing to the point 101, only its X coordinate is different.
Click Copy Partner to copy all positions and projection line values from the other point in the same pair.
To position 102 at the centre of the bolt hole on the left side, edit the Expression (by changing the sign from
- to +), X ( - CDPR WIDA / 2 ) Y ( - 100mm ) Z ( 0 ).
Click Replace.
In the following example, the user will set dimension points for a which is a distance between the start of the
parent profile and the centre of the bolt hole on the left side.
In the following example, the user will set dimension points for b which is a distance between the end of the
parent profile and the centre of the bolt hole on the right side.
In the following example, the user will set dimension points for L.
In the following example, the user will set dimension points for d which is the bolt diameter.
Set the first Dimension Point 501 and the second Dimension Point 502 as below:
Design Point Description 2xd (2x means that there are two bolt holes.)
Dimension Position X (CDPR WIDA / 2 + 100mm / SQRT ( 2 ) ) Y ( - 150mm / SQRT
(2)) Z(0)
Dimension Extension 150mm
Dimension Direction Y 45 -X
Then the Template View form will display the dimensions as below:
Lastly the user will set dimension points for W which is the overall width W = a + W1 + b.
Select the last first dimension point from the list and edit the values as below:
To position at the start of the Template Element SCTN 1, set the values as below:
Click Include.
These dimension points are also displayed incorrectly in the 3D View, but correctly in the Template View
form.
All legs of a seat template must have its Purpose and Function attributes as below:
Purpose starts with LEG (All legs with the same landing plane must have the same purpose.)
Function E (the end side is welded), S (the start side is welded), ES or SE (both sides are
welded)
Purp LEG
Func E
Purp LEGA
Func E
Purp LEGB
Func E
Navigate to /MYSEATAAA.
Set the Purpose to SEAT and the Function to /MYSEATAAA;MYSEATAAA;2;1;1. This means:
The easiest way to create a skeleton handler object for a seat template is to copy an existing one and
delete its contents except for definitions for the object and methods).
do !i indices !designer.designParams
!title = !designer.designParams[!i].title
!value = !designer.designParams[!i].value[1]
if !value.lt(0) then
!!alert.error(|Please input valid value for '| + !title + |'!|)
return false
endif
enddo
return true
endmethod
.displayPreview(!designer is ESADESIGNER)
: This method will draw a preview of a seat instance using Graphic AID elements.
For this new template, a preview of boundary box of a seat instance is already provided as below:
!xdir = !designer.orientation.xdir()
!ydir = !designer.orientation.ydir()
!zdir = !designer.orientation.zdir()
!angleSpco = !designer.getTemplatePropertyValue('EASP')
!angleWidth = !!comConvertUnknownValue(!angleSpco.param[1], 'MM')
!angleThickness = !!comConvertUnknownValue(!angleSpco.param[3], 'MM')
.postCreate(!designer is ESADESIGNER)
: This method will be called to handle post-processing jobs after running the standard creation procedure.
For this new template, do not use this method but leave it empty:
.postModify(!designer is ESADESIGNER)
: This method will be called to handle post-processing jobs after running the standard modification procedure.
For this new template, do not use this method but leave it empty.
!seatPosition = !designer.position
!seatOrientation = !designer.orientation
!targetPlane = !designer.getTargetPlane()
if !designer.targetEquipments.empty() then
-- no equipment selected, stand-alone
if !targetPlane.set() then
-- no landing plane selected
if !seatOrientation.unset() then
!planeXDir = !targetPlane.orientation.xdir()
!planeYDir = !targetPlane.orientation.ydir()
!planeZDir = !targetPlane.orientation.zdir()
!ydir = !planeZDir.opposite()
!ydir = !seatOrientation.ydir()
!seatPosition = !targetPlane.intersection(object
POINTVECTOR(!seatPosition, !ydir)).offset(!ydir, -!l)
handle (2, 875)
!designer.warning('Plane and leg are parallel!')
elsehandle NONE
!this.landingPlane = !targetPlane
endhandle
endif
else
!boltDirection = !boltData[1].direction.opposite()
!boltPositions = !boltData.evaluate(object
BLOCK('!boltData[!evalIndex].position'))
-- calculate position
!seatPosition = !boltPositions[1].midpoint(!boltPositions[2])
-- calculate orientation
if !seatOrientation.unset() then
!xdir = !boltPositions[1].direction(!boltPositions[2])
!ydir = !boltDirection.opposite()
!zdir = !xdir.cross(!ydir)
-- make sure that !zdir is always toward upper direction
!zaxis = object DIRECTION('Z')
if !zdir.dot(!zaxis).lt(0) then
!zdir = !zdir.opposite()
endif
!seatOrientation = object ORIENTATION('Y IS ' + !ydir.string() + ' AND Z
IS ' + !zdir.string())
endif
-- bolt diameter
do !boltDatum values !boltData
if !boltDatum.diameter.set() AND !boltDatum.diameter.gt(0) then
!d = !boltDatum.diameter
break
endif
enddo
!designer.position = !seatPosition
!designer.orientation = !seatOrientation
Landing Plane A
Purp LEGA
Func E
Purp LEGB
Func E
Landing Plane B
Landing Plane means a plane where one or more legs of a seat are welded.
For this new template, return a value of member variable landingPlane which is set by the .process
method.
Landing Plane
Purp LEG
Func E
Key in PML REHASH ALL in the Command Window so that the AVEVA Marine can find the newly created
files (i.e. mySeatAAA.pmlobj and myseataaa.png).