Category Archives: PML.NET

Export from 3ds Max to AVEVA PDMS


AVEVA                                                          3D MAX


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”);

Template for PML .NET

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

namespace Aveva.Pdms.PMLNetClass
public class PMLNetClass
public PMLNetClass(){}

public void Assign(PMLNetClass that){}

public void Run(){}