Key Principles of Customize Support Program

简介: Key Principles of Customize Support Program eryarfly@gmail.com I have already used AVEVA Marine for years.
 

Key Principles of Customize Support Program

eryarfly@gmail.com

I have already used AVEVA Marine for years. It is convenience and efficiency. But only the MDS module does not meet our design standard. There are so many pipe support models in the database, in order to meet the plant and marine pipe support design requirement. When creating a support model, you must wait for a while for the program to find the needed support , it's so boring. So I decided to do a support program by myself.

 

To do such a program, you must know the knowledge below:

l         The Design Element Hierarchy

l         Event-Driven Graphics Utilities

l         How to create component and specification in paragon module

l         PML (the AVEVA Programmable Macro Language)

l         General Commands for Creating the Model

 

 

1. The Design Element Hierarchy

Figure1. The Equipment and Piping hierarchy

The hierarchy is very important concept in AVEVA. It restricts that which element can hold what elements.

 

To know all data model and its attributes in AVEVA software, you can see the "Data Model Reference Manual" for reference.

 

2. Event-Driven Graphics Utilities

Event-Driven graphical interaction allows cursor picks in 3D views to be used intelligently as part of some overall rather than just being used for navigation or element identification purposes.

 

Once you have selected an option which puts you into event-driven graphics mode, such as measuring distances between calculated positions, you can carry out unrelated actions using non-graphical forms and menus without interrupting the logical sequent picking actions.

 

When you are in event-driven graphics mode, a Positioning Control form lets you control how your pointer picks are translated into the coordinates of required positions (which need not be at the actual cursor position).

 

Click in the 3D View and then press the Esc key to leave event-driven graphics mode.

 

Note: EDG functions are not available within Model Editor mode.

 

When use the Distance Measure from the toolbar, a Positioning Control will display automatically.

Figure2. Distance Measure on the Utilities toolbar

Figure3. Positioning Control

 

In PML, the object EDGPACKET is used for this facility. You can reference to : componentcreation.pmlfrm for detail. I will list the simplest code to demonstrate the utility.

 

To use your own PML program, you can put the following code in a text file named pickdemo.pmlfrm, and put it to the PMLLIB path, my PMLLIB path is set to : D:\AVEVA\Marine\OH12.0.SP6\PMLLIB\AddIns.

 

Then in the Design module's command window input the command:

PML REHASH ALL

SHOW !!pickdemo
List 1 : The simplest PML code for Event-Driven Graphics pick

 

 

When the command : Show !!pickdemo applied, the pick demo form will show like follow:

Figure4. Pick Demo Form

When you push the button and pick a model, the information will displayed in the Command Window like follow figure:

Figure5. Position in the Command window

 


3. Create Component and Specification

 

Like the pipe model in Design Module which its components are all from paragon database, we will save our support model in paragon database too. This is also MDS does.

 

You can save the pipe clamp data :

 

Figure6. Pipe clamp model in paragon

 

 

Figure7. Pipe clamp model in paragon

 

After doing this, you add specifications for support component like pipe component, so you can use the support via the specification.

 

For more information about Catalogues and Specifications please see : Catalogues and Specifications Reference Manual.

 


4. PML

 

You can learn more from the manual: Software Customisation Guide.

 

The manual describes how to use PML, the AVEVA Programmable Macro Language. You should use it together with the Software Customisation Reference Manual.

 

You do not have to be a professional programmer to start to learn PML,

although you may find the manual difficult to follow unless you have

some understanding of programming concepts such as if statements and

do loops. If you have no programming experience, you should consider

attending a PML Training Course. For details, contact your local support office, whose address is given on the copyright page of this manual.

 

 


5. General Commands for Creating the Model

 

You can use the command: NEW to create new element. The command also can be used in PML.

Figure8. Use new command to create element

 

Then assign the spref and position attribute and others to the element, the spref attribute set for component's shape and position attribute set for the component's position.

Figure9. Attributes of the component

You can use PML command:

SPREF /Your_Support_Specification

/Your_Support_Specification is created in the paragon module.

 

The result is in the below picture:

Figure10. Support model in Design module

 

So if you understand the 5 key principles you can build your support models by your own program, this will be wonderful.

 

Good Luck!

 

 

If you find any mistakes or have any suggestions, please contact me: eryarfly@gmail.com.
/Files/eryar/Key-Principles-of-Customize-Support-Program.pdf

目录
相关文章
|
编译器 C++ 计算机视觉
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“
693 0
|
C++
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:
283 0
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:
PAT (Advanced Level) Practice - 1022 Digital Library(30 分)
PAT (Advanced Level) Practice - 1022 Digital Library(30 分)
101 0
|
测试技术
Note tool
Sent: Monday, March 23, 2015 2:56 PM https://dewdfgwd:2030/sap/bc/ui5_ui5/sap/znotetool/index.html?sap-client=001&sap-ui-language=EN&sap-ui-appcache=false 把Opportunity,(或者lead,Appointment,task)ID输入,点submit,就能看到下面挂着的note全部的technical information了 后台只能连AG3哈,这个是拿来做单元测试的。 GM6/001 tcode SE80:
133 0
Note tool
strange behavior:why u31000 is accessed for Extension project
Created by Wang, Jerry, last modified on May 20, 2015
92 0
strange behavior:why u31000 is accessed for Extension project
|
Oracle 关系型数据库 Unix
ACFS Support On OS Platforms (Certification Matrix). (文档 ID 1369107.1)
A) The next matrix provides a roadmap for ACFS support platforms and versions:   ACFS 11.2.0.1 Supported Platforms Vendor Version Update/Kernel Arc.
2444 0
|
SQL 关系型数据库 C语言
Principles and Applications of the Index Types Supported by PostgreSQL
Open data interfaces that allow PostgreSQL to support a wide range of different data types.
1672 0