Category Archives: PML.NET

Filter Selection in 3D View of Aveva Pdms

Plugin written in PML and C# to simplify work for users.

For those situations when you need to filter selection elements on 3D View and do some actions with it or just hide unnecessary templates..

2017-05-15_230256
Continue reading Filter Selection in 3D View of Aveva Pdms

Advertisements

Export from 3ds Max to AVEVA PDMS

2016-11-21_122206

AVEVA                                                          3D MAX

About

Finally, I wrote suitable interface to upload any geometry to Aveva PDMS or E3D.
3Ds max works with almost any format, so I chose it like transition tool from other softwares, it is also perfect instrument to create equipment.
My plugin is not optimised but works as a charm.

Continue reading Export from 3ds Max to AVEVA PDMS

Aveva. Pdms. Customise. UserControl

Here  you can find C# UserControl (PDMS version 12.0.6) + UserControl (PDMS version 12.1.4), that will make your life with PDMS little happier 🙂

Place genprimitives.pmlfrm to  d:\AVEVA\Plant\PDMS12.0.SP6\PMLLIB\design\forms\genprimitives.pmlfrm

and uLable.dll to D:\AVEVA\Plant\PDMS12.0.SP6\. 

Dont forget to make Backup of your files (PDMSUI\clib\files\ ) in that directory!!

Video Manual how it can be used:

Get Environment Variable in Aveva using C#

With such code its possible to get variables declared in evar.bat file:

(As an example I query network PDMSUI path that is global variable)

string pmlpath = Environment.GetEnvironmentVariable(“PDMSUI”);
string pdmsui = pmlpath.Split(‘ ‘)[0];

An with this code you can query local variable for current PDMS instance:

var pdmsexe = PdmsApplication.GetPdmsEnvironmentVariables(“PDMSEXE”);
Console.WriteLine(pdmsexe[0]);

Template for PML .NET

using Aveva.PDMS.PMLNet;
[assembly: PMLNetCallable()]

namespace Aveva.Pdms.PMLNetClass
{
[PMLNetCallable()]
public class PMLNetClass
{
[PMLNetCallable()]
public PMLNetClass(){}

[PMLNetCallable()]
public void Assign(PMLNetClass that){}

[PMLNetCallable()]
public void Run(){}
}
}