RSS

Tag Archives: basic pml programming

PDMS Colour Code

Below is the colour code in PDMS. note that the colour code is different from Review colour code.

 
1 Comment

Posted by on May 21, 2012 in PDMS Training and Knowledge

 

Tags: , , , , , , , ,

Aveva Review Colour Code

Below is the colour coding for Review.

 
 

Tags: , , , , , , , ,

Macro to Calculate Dia Inch

Here is the macro to extract the DIAINCH report from model for piping zone. I have prepared and attached the detail procedure for DIAINCH reporting and sorting to order

Download macro

download_button

Read how to use it here

 
1 Comment

Posted by on April 12, 2012 in Download Macro

 

Tags: , , , , , , , , ,

Utility to add within volume

try this program…

Download here

add volume macro (work in mm units)
you can select what to add, what to ignore, visibility, colour..etc.read manual

 
Leave a comment

Posted by on April 12, 2012 in Download Macro

 

Tags: , , , , , , , ,

Transfer from AutoCAD to PDMS Design

Download macro for creating line from AutoCAD here

1.in acad load pdms_line.vlx (select only line’s)
2.in pdms in command line $M….

 
4 Comments

Posted by on April 12, 2012 in Download Macro

 

Tags: , , , , , , , ,

PML Basics Part 2 (Creating an Array)

What is an Array?
The simple answer to me would be a collection.

How to create an Array
!Array = Array()
This is an empty variable but it has been defined as an array

Adding to the array
Type 1
!Array[1] = ‘BOB’
!Array[2] = ‘GEORGE’
!Array[3] = ‘KELLY’

Type 2
!Array.Append(‘BOB’)
!Array.Append(‘GEORGE’)
!Array.Append(‘KELLY’)

q var !Array

Read the rest of this entry »

 
2 Comments

Posted by on April 10, 2012 in PDMS Training and Knowledge

 

Tags: , , , , , ,

PML Basic Part 1

To start out, I wanted to introduce the Dollar $ symbol and its meanings

$M = Runs a macro in pdms
$! = Evaluate a varieble
$. = Terminates a macro
$S = Defines a synonym
$G = Defines a global synonym
$S- = Turns synonyms off
$S+ = Turns synonyms On
$QS = Queary’s the synonyms
$H = Help
$Q = Another syntax help
$P = Prints a line to your command line
$$ = Adds a $ symbol
$D = Default argument value

Read the rest of this entry »

 
2 Comments

Posted by on April 10, 2012 in PDMS Training and Knowledge

 

Tags: , , , , , , , , , , , , ,