91% found this document useful (11 votes)
49K views21 pages

E3d Commands

1. The document provides various commands for working with piping models and components in AVEVA E3D, including commands for adding, removing, moving, connecting, and modifying piping elements. 2. Dimensioning, inspection, and labeling commands are also included for annotating the piping model. 3. The commands cover a wide range of tasks from basic modeling functions to more advanced tasks like changing pipe specifications, orientations, and connections between elements.

Uploaded by

mih1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
91% found this document useful (11 votes)
49K views21 pages

E3d Commands

1. The document provides various commands for working with piping models and components in AVEVA E3D, including commands for adding, removing, moving, connecting, and modifying piping elements. 2. Dimensioning, inspection, and labeling commands are also included for annotating the piping model. 3. The commands cover a wide range of tasks from basic modeling functions to more advanced tasks like changing pipe specifications, orientations, and connections between elements.

Uploaded by

mih1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 21

## add items to a predefined volume of 1000 from each side

add all within vol ce 1000

dir d

dist 500

bop 100 onto id@

thr id@

by n 300

dir d

new elbo choo all

conn

by e 150

next thro ce

creating piperack foundation in command line

new equip name/test-equip

new sube

show !!genprimitives ## then you can create primitives

## for copying the primitives

new box copy pre by w 6000 wrt/*

# CHANGE AXES ON THE CE ITEM

AXE AT CE
# COMMANDS FOR PIPING

AXES AT CE

AXES OFF

REM ALL ADD CE -- REMOVE EVERYTHING AND ADD CE

ADD ALL EQUIP WITHIN VOL CE 100

ENHANCE CE COLOR RED

CONN -- CONNECCT PIPING COMPONENT TO PREVIOUS

CONN TO NEXT -- CONNECT PIPING COMPONENT TO NEXT

FCONN -- FORCE CONNCET PIPING COMPONENT TO PREVIOUS

CONN PH TO FIRST MEM -- CONNECT BRAN HEAD TO FIRST MEMBER

CONN PT TO LAST MEM -- CONNECT BRAN TAIL TO LAST MEMBER

CONN PH TO ID@

CONN PT TO ID@

UNNAME

BY N 1000

DIST 1000

DRAG BY E 1000

NEW ELBOW CHOOSE ALL

THRO CE

FLIP CE

BACK

FORW

DIR D

ORI D

ORI AND P3 IS UP

Q DTXR

Q MTXX

Q DETREF -- DISPLAY THE DETREF REFERENCE AT COMPONENT LEVEL

Q CATREF -- DISPLAY THE CATALOG REFERENCE AT COMPONENT LEVEL

A SPREF -- DISPLAY THE SPEC REFERENCE AT COMPONENT LEVEL

Q BLTREF OF SPREF -- DISPLAY THE BOLT REFERENCE AT COMPONENT LEVEL


GOTO SPREF Q ATT

# FOR CHANGING TO BACKWARD

BACK

# THEN CONNECT ITEMS

CONN

NEX CONN

1. ADD ALL PIP


2. REM ALL PIP
3. MOVE U THROU IDP@
4. MOVE E THROU IDP@
5. MOVE W THROU IDP@
6. MOVE N THROU IDP@
7. MOVE S THROU IDP@
8. Q DTXR (To See Name Of Component)
9. Q STEXT
10. STEXT ‘NOTE’ (Naming For Attachment)
11. Q ATT (To see the attributes)
12. REPR INSU ON/OFF UPDATE
13. Q ISPEC (To see the insulation)
14. ISPEC NULREF (To Remove the Insulation)
15. CONN NEXT (Connection to next element)
16. FCONN (For force connection)
17. DIST 500
18. AXES AT PH (To see Axes of Pipe Head)
19. AXES AT PT (To see Axes of Pipe Tail)
20. AXES OFF
21. BY U 500
22. BY D 500
23. BY E 500
24. BY W 500
25. BY S 500
26. BY N 500
27. Q NAME
28. ROTATE BY 45 (Rotated command)
29. ROT BY 90 ABOUT Z THRO ID@ (Rotated)
30. Q PARA (To check nozzle size)
31. Q CATREF (To See nozzle Rating)
32. Q POS IN WORLD
33. CH CE (check current element)
34. Q SPREF (check piping Spec)
35. Q ORI (To see the orientation)
36. DIR D (Direction Down) U E W N S (For elbow, tee, valve)
37. Q P1/P2/P3 (To see pipe Bore Direction Connection type and Position)
38. Q HBORE
39. Q TBORE
40. Q LBORE
41. NEW BRA COPY PREV BY E/W/S/N/U/D 100
42. Q U (To see the elevation)
43. Q ANGLE (For change the angle)
44. THRO NEXT (To connect element to next component)
45. Q LTLE (To cheek pipe length)
46. Q MEM
47. Q RTEX OF DETREF (To see element type and detail)
48. CONN IDP@ TO IDP Q CE
49. Q PL (For Direction and position)
50. BRA CONN PH TO FIST MEM
51. BRA CONN PT TO NOZZ ID@
52. BRA CONN PT TO LAST
53. RAD 500 (Control Valve Radius)
54. HEI 500 (Control Valve Height)
55. BACK (Backward)
56. FORW (Forward)
57. For Drain pipe
a. ADD ATT (For isometric note)

b. Q ATT
c. TCONN OPEN
d. Q STEXT
e. STEXT ‘DRAIN POINT’

58. For Slope Line /Rotated Elbow


a. FORWARDS (Select in piping components)
b. DIR TOW NEXT
c. BACKWARDS (Select in piping components)
d. DIR TOW NEXT

59. MTOC DOTD (Do not want in bill of material) You can see the Doted DOTD
60. MTOC ON (Want in bill of material)
61. MTOC OFF (Don’t Want in bill of material)
62. Q PA BOP/TOP (To see the pipe BOP/TOP)
63. Q LSTUBE (To Change the spec Brake)
64. Q PSPEC (To see the pipe spec)
65. CONN PH TO P3 OF ID@ ( AND SELECT THE PIPE P3)
66. CONN PT TO LAS MEM
# STAY ON THE BRANCH:

CALLIB MREOREV

# TO CHANGE THE PROFILE SECTION TYPE

Q SPREF

SPREF /BS-PFC100x50x10 OR ANY OTHER SPREFs

PIN1 AT CE

Q POS PIN1

CONN P1 TO P2 OF ID@

SHOW _CDCADVMEMB

SHOW !!CDCMEMBER

SHOW !!CDCLIST

SHOW !!AIDCEARROW

SHOW !!COMPONENTSLOPE

CALLIBR XREPSEL MODIFY ------ REPORT


Length of TUBI
Anonymous

If you want to know the length of the TUBI element, navigate to the ELBO before the TUBI and
type the following in the Design command window:

CE IL TUB OF CE
Q ATT

Calculating a distance
Anonymous

If you want to calculate the distance between leave of the current element and the arrive of the
next element type in the command window:

Var !dist const dist pl to pa of next


Do you know AVEVA E3D has In-Canvas Commands like AutoCAD?

In-Canvas commands include all type of commands that you invoke them by typing in the air and then press
Spacebar or Enter button.

When using the In-canvas command prompt the following commands can be typed directly in:

In-Canvas Command     -->     Description

 AIDARC     -->     Invokes function to create AID type Arc.


 AIDBIS     -->     Invokes function to create an AIDLIN bisecting between two non-parallel AIDLINs.
 AIDCIR     -->     Invokes function to create AID type Circle.
 AIDFIL     -->     Invokes function to create filleting AIDARC connecting two non-parallel AIDLINs.
 AIDLIN or L     -->     Invokes function to create AID type Line.
 AIDPOI     -->     Invokes function to create AID type Point.
 AIDTAN     -->     Invokes function to create an AIDLIN tangential to two circles which are non
concentric.
 AIDTEXT     -->     Invokes function to create AID type Text.
 ANGLE     -->     To calculate angle between any two entities.
 BRACING     -->     To specify bracing gaps for existing diagonal elements or members.
 CAMERA     -->     Enables to lock view wrt an object. Also disables 3D orbit mode when it is enabled.
 CANCEL     -->     Cancels any current operation in-progress.
 COPY or CO     -->     Invokes function to copy selected entities with respect to a base point selected and
also paste them at required locations in a loop.
 COPYBASE     -->     Invokes function to copy selected entities with respect to a base point selected.
 COPYCLIP     -->     Invokes function to copy selected entities without any base point.
 CONNECT     -->     Enables function to connect any two GENSECs.
 CUTBASE     -->     Invokes function to CUT/PASTE selected entities with respect to a base point
selected.
 CUTCLIP     -->     Invokes function to CUT/PASTE selected entities.
 D or LINDIM     -->     Invokes function to create db type Linear Dimension.
 DELETE     -->     To delete selected entities.
 DISCONNECT     -->     Enables function to disconnect any two connected GENSECs.
 DIST or DI     -->     To calculate distance between any two entities.
 EM or EDITMODE     -->     Triggers Edit Mode.
 ENDATUM     -->     Create a ENDATU Fixing at selected End of GENSEC. Specs can be set only for old
BS Column and Beam type profiles.
 EXTEND     -->     Enables function to extend the end of a structural element to a reference element.
 FILLET     -->     To create a Fillet between two non-connected structural elements.
 FLY     -->     Enable FLY mode operation.
 FORCETRIM     -->     To trim an attached GENSEC to selective Pline of Owning GENSEC.
 FOVY     -->     Enables option to enter new Vertical field-of-view angle (Projection mode should be in
Perspective to enable this option).
 GENSECDEF     -->     Triggers function to set default specification wrt existing GENSEC.
 GFITT_CRE     -->     Enable function to create a GENSEC Fitting.
 GFITT_MOD     -->     Enable function to modify a GENSEC Fitting.
 GRIDCY     -->     Invokes function to create a new GRID CYLINDER for Radial Grid only in In-Mode.
 GRIDID     -->     Resets IDs of REFGRDs.
 GRIDPL     -->     Invokes function to create a new GRID PLANE for REFGRD in IN-Mode (Currently
works for a single REFGRD).
 ID     -->     Queries Coordinate Positions at snapped position.
 IN     -->     Triggers IN or Include mode.
 JMOD     -->     Enables you to modify joints on a SECTION.
 LCS     -->     Invokes operation to change Coordinate system between Local and World.
 LINDIMA     -->     Invokes function to create db type Aligned Dimensions.
 LOOKROUND     -->     Enables 3D Orbit mode option to look around a locked view in Perspective
ProjMode.
 M or MOVE     -->     Invokes function to move entities with respect to a base point selected and also paste
them at required locations in a loop.
 MERGE     -->     To merge two members of same element type.
 MI or MIRROR     -->     To mirror any selected Structural Elements by defining a Mirror Plane.
 MITRE     -->     Enables option to Mitre two ends of GENSECs.
 MLABEL     -->     Invokes a function that creates a Label in 3D Canvas.
 MREDO     -->     Enables you to REDO all previous actions or to desired number of actions.
 NEXT     -->     To go Forwards through Views.
 OUT     -->     Trigger OUT mode by exiting IN mode.
 OUTALL     -->     Takes you all the way out.
 OSNAPD     -->     Triggers Distance Snap Mode function.
 P or PAN     -->     Enables REALTIME PAN option.
 PANARC     -->     Enables function to Create a ARC PANEL using three point or two point methods.
 PANCIRC     -->     Enables function to Create a CIRCULAR PANEL with multiple options.
 PANDIR     -->     Pans View towards selected PLAN VIEW directions.
 PANDISC     -->     Enables function to Create a DISC PANEL using Center + or two point methods.
 PANELNXTRDISC     -->     Creates a Negative extrusion of a PANEL in Circular Shape in three different
modes.
 PANELNXTRMULT     -->     Creates a Negative extrusion of a PANEL in Rectangular Shape using
Multiple Points.
 PANELNXTRRECT     -->     Creates a Negative extrusion of a PANEL in Rectangular Shape using Two
Points.
 PANMULT     -->     Enables function to Create a RECTANGULAR PANEL with multiple points.
 PANOFFSET     -->     Enables function to Create a an Offset Perimeter of PANEL with multiple points.
 PANRECT     -->     Enables function to Create a RECTANGULAR PANEL using two points.
 PANRING     -->     Enables function to Create a RING PANEL using three point to two point methods.
 PASTECLIP     -->     To paste any copied or cut elements that are available in current session.
 PFITT_CRE     -->     Enable function to create a PANEL Fitting.
 PFITT_MOD     -->     Enable function to modify a PANEL Fitting.
 PLAN     -->     Set the current View to Plan View mode.
 PR or PROPERTIES     -->     Open Property Window if not opened already in the application.
 PREV     -->     To go Back through Views.
 PROJMODE     -->     Toggles between Projection modes Orthogonal or Perspective.
 RADIAL     -->     Enables option to create a Radial Grid.
 REDO     -->     Redo any operation that was previously called back (Performed Undo).
 REFGRD     -->     Enables option to create a Reference Grid.
 RO or ROTATE     -->     Invokes function to rotate any object around any defined axis.
 SCALE     -->     To Scale a Structural Element by selecting a Base Point.
 SECARC     -->     Creates a ARC GENSEC and also gives multiple options to choose the way they are
created.
 SECCUR     -->     Creates a Curved GENSEC and also gives multiple options to choose the way they are
created.
 SECRING     -->     Creates a RING GENSEC and also gives multiple options to choose the way they are
created.
 SECTION     -->     Creates a Straight GENSEC and gives multiple options to choose the way they are
created.
 SELALL     -->     To select all the elements in 3D View.
 SPLICE     -->     To Splice any Structural Element(s) in multiple ways.
 SPLIT     -->     To split any Structural Element(s) in multiple ways.
 STRETCH     -->     To Stretch any Structural Element along a defined path.
 TOWER     -->     Enables option to create a Rectangular Tower Grid.
 TOWERT     -->     Enables option to create a Triangular Tower Grid.
 U     -->     To Undo any current operation.
 UNDO     -->     Enables you to UNDO all operation or to desired number of counts.
 WALK     -->     Enables you to WALK around a Model.
 Z or ZOOM     -->     Enables Zoom options.
 -VIEW or -V     -->     To change any View between Isometric or Orthographic or Plan View.
 -PAN or -P     -->     PANs view wrt base point selection.
 3DO or 3DORBIT     -->     Enables 3D Orbit mode.

PDMS & E3D COMMANDS


By PRIYANK MODASIA Monday, January 04, 2021  0 Comments

  PDMS & E3D COMMANDS


1 ADD ALL WITHIN VOL CE 1000     ALL THE COMPONENTS WITH IN THE                       
                1000 DISTANCE ALL AROUND THE CE
2 Q MEM          TO QUERY THE MEMBER
3 Q OWN          TO QUERY THE OWNER
4 Q U IN /*  TO FIND THE ELEVATION OF ORIGIN WITH RESPECT TO                           
                 WORLD
5 CONN NEXT  (Connection to next element)
6 FCONN           (For force connection)
7 DIST 500
8 AXES AT PH  (To see Axes of Pipe Head)
9 AXES AT PT  (To see Axes of Pipe Tail)
10 ROT BY 90 ABOUT Z THRO ID@ (Rotated)
11 Q P1/P2/P3  (To see pipe Bore Direction Connection type and Position)
12 Q HBORE (PIPING)
13 Q TBORE (PIPING)
14 Q LBORE (PIPING)
15 BRA CONN PT TO LAST (PIPING)
16 DIR TOW NEXT (PIPING)
17 MTOC DOTD  (Do not want in bill of material) You can see the Doted DOTD
18 MTOC ON          (Want in bill of material)
19 MTOC OFF     (Don’t Want in bill of material)
20 Q NVOL         GIVES THE CE NET VOLUME
21 Q NWEI                 GIVES THE CE NET WEIGHT
22 Q PH BORE (PIPING)
23 Q PH OD (PIPING)
24 Q PT                  GIVES THE CE (PIPE TAIL) ATTRIBUTES
25 Q TULE                 GIVES THE BRANCH TUBE LENGTH
26 ADD ALL WITHIN VOL CE 100 ADDS ALL DISCIPLINES THAT OVERLAP               
                          CE WITH A  VOLUME
27 AT IDP@         MOVES CE TO SELECT PPOINT
28 Q REF
29 DELETE BRAN Delete Branch
30 Q HSTU                To Display Branch Head Side Tube Attributes
31 Q LSTU                To Display Component Leave Side Tube Attributes
32 Q ABORE        To Display Arrive Bore Of A Component
33 Q LBORE        To Display Leave Side Bore Of A Component
34 ADD HREF TREF Add Head & Tail Reference
35 Q HBORE  To Display The Head Side Bore Of A Branch
36 Q TBORE        To Display The Tail Side Bore Of A Branch
37 Q SPRE                To Display The Specification Of The Component
38 Q PSPEC        To Display The Specification Of The Pipe
39 NEW ELBO CHOO Create New Elbo
40 NEW ELBO SEL WITH STYP EA   To Create The Elbo With Specific Selection                 
                            Type
41 AXES AT HPOS Axes At Head Possition Of The Branch
42 AXES AT TPOS Axes At Tail Possition Of The Branch
43 NEX TUBI Asking For Tube Being On The Component
44 Q ITLE         To Display The Length Of The Tube Between Two Components
45 Q HREF         To Display The Head Reference Of A Branch
46 Q TREF         To Display The Tail Reference Of A Branch
47 Q DIR         To Display The Direction Of The Selected Component
48 CONN PH TO FIR MEM Connect Branch Head To The First Member Of The                   
                       Branch
49 CONN PT TO LAS MEMConnect The Branch Tail To The Last Member Of The             
                       Branch
50 Q ORI        To Display The Orientation Of Selected Component
51 CLEA             (SPOOL) Giving The Spool Distance Between Two Components
52 Q CATREF To Display The Catalogue Reference At Component Level
53 CONN         Connect
54 FCONN         Force Connect
55 Q STYP         To Display The Component Selection Type
56 FOR         To Set The Forward Mode
57 BACK        To Set The Backward Mode
58 FIRST MEM To Navigate The First Member
59 LAST MEM To Navigate The Last Member
60 FIRST FLAN To Navigate The First Flange In Hierarchy
61 Q PARA         To Display The Parameters
62 Q ACONN To Display The Arrive Connection Detail Of A Component
63 Q LCONN To Display The Leave Connection Details Of A Component
64 DIR TOW NEX Direction Towards The Next Component
65 Q REF         To Display Reference
66 INCL         Include
67 ORI AND P3 IS UP Orient P3 Of Tee To Up (Specified Direction)
68 OWN                  Navigate Owner
69 GOTO OWN Go To Owner Of The Selected Component
70 Q ABOP/LBOP Details Of The Arrive/Leave Boptom Of Pipe
71 Q ANGLE Details Of A Angle Of An Elbo
72 Q ATLE Length Of First Tube Of A Branch
73 ATTYPE CCNN Comment Attachment Without Dimension
74 ATTYPE CCCC Comment Attachment With Dimension
75 ATTYPE XXXX Atta For Setting The Isometric Limit
76 CH CE                 Check Current Element (For Consistency Check)
77 DIR TOW NEXT ELBO Align A Elbo With The Next Elbo
78 DIR TOW ID@ Align The Elbow
79 EXTEND 100 START/END Extend By 100 The Start/End Of A Cross Member
80 Q HCON/TCON Details Of Head/Tail Connection Of A Branch
81 Q HDIR           Direction Of The Flow From The Branch Head
82 Q HPOS/TPOS Details Of Head/Tail Possition Of A Branch
83 Q ISPE Insulation Specification
84 ISPEC NULREF For Removing Insulation
85 SPKBRK T For Removing Insulation (Use In Case Fof Atta)
86 MTOC DOTD Mto Component Dotted With Dimension
87 MTOC DOTU Mto Component Dotted With Out Dimension
88 MTOC OFF Mto Component Off
89 NEX CONN Next Connect
90 NEX THRO CE Move The Current Componet To Next
91 ORI AND P3 IS TOW ID@ & DIR TOW ID@ Aligning The 3Rd P-Point Of A                       
                  Tee Towards Next Elbow
92 Q P3                 Details Of P-Point P3 (In Case Of Tee Only)
93 Q PA/P1                 Details Of The P-Point 1
94 Q PL                 Details Of The P-Point 2
95 TCONN OPEN Tail Connection Type Open (Ce Should Be Branch)
96 TDIR                 Direction Of The Flow From The Branch Tail
97 ISPEC /W To Give The Insulation
98 Q LBORE         To Query Leave Bore
99 Q TBORE         To Query The Tail Bore
100 THRO PH         Through Pipe Head
101 THRO PREV Through Previous
102 THRO PT         Through Pipe Tail
103 Q TPOS                 To Query Tail Position
104 Q HCON         To Query The Head Connection
105 Q TCON         To Query The Tail Connection
106 Q ACON         To Query Arrive Connection
107 Q LCON         To Query Leave Connection
108 ATTYPE FLOW To Create Flow Direction Of Attachment
109 DIR N                 Direction Of Component Towards North
110 BACK CONN Backward Connection

MY NOTEBOOK( PML & C# & MS COMMANDS)


FEBRUARY 23, 2016 ME_HUNGRY 11 COMMENTS

Some commands that can be useful while PDMS customizing


Get Description for UDA:
!sUDADesc = ‘:Paste here your UDA Name’
!sUDAHash = object  attribute(!sUDADesc)
!rUDAName = !sUDAHash.hash()
!sUDAValue = !!ce.attribute(!sUDADesc) 
var !UVALIDDesc eval DESC for all UDA MEM with (UKEY of OWNE eq $!rUDAName AND UVVAL eq !
sUDAValue)
q var !UVALIDDesc[1]
Export RVM:
REPRESENTATION CABLE OBST ON    $* Show Cable Tray Reserve Volume
EXPORT REPR ON                                       $* Turn On Transparency 
Isodraft page count:
var !number isodraw plotfile 1 number
Set clash settings:
TOUCH GAP 0.2
IGNORE TOUCHES
IGNORE CONNECTIONS
NOCHECK WITHIN BRAN
COLOUR OBST BLUE
Get wall thickness:
STR(ATTRIB PWALLT(1))

ATTRIB SCHED

Get Schedule in DTXR:


PART ( STR ( ATTRIB WTEREF 3 ) , 2 , ‘-‘ )

Track all modules:


  track |CATACE| call |!this.track()|
  track |PROPCE| call |!this.track()|
  track |PADDCE| call |!this.track()|
  track |DESICE| call |!this.track()|
  track |SCHECE| call |!this.track()|
  track |ISODCE| call |!this.track()|
Round up to nearest 5mm:
(INT( PARA 1 / 5) + 1) * 5

Collect systems
!network = CONNECTIONSH

MS Word first page number if number pages is more than 1:


{ IF {={ NUMPAGES } -1} = 1 “” “1” }

Advertisements

REPORT THIS ADPRIVACY

Convert HashTable to Dictinary with array that is inside with splitter “-“:
KeyTable.Cast().ToDictionary(k => k.Key.ToString(), v => v.Value.ToString()).OrderBy(v => v.Value).
ToDictionary(k => k.Key, v => v.Value.Substring(v.Value.IndexOf(“-“) + 1, v.Value.Length –
v.Value.IndexOf(“-“) – 1))

Find closest panel downwards:


Q CLOSEST PANEL DIRECTION DOWN

MS Word command execution:


Application.DocumentManager.MdiActiveDocument.SendStringToExecute(sListlogPath, true, false, true);

Dont remember:
DependencyResolver.GetImplementationOf().Commands.Add(…);

Thread.CurrentThread.CurrentCulture = new CultureInfo(“en-US”);

NEW SITE /xyz DB ABCD/ABCD

PDMS Admin list update:


!!ADMINELEM.update(!!ADMINELEM.type.selection(‘rText’))

Show PDMS forms:


!!fmSys.forms() *$ all
!!fmSys.shownForms() *$ shown

Name of PDMS commandline form:


_cadcBth

alpha request clear

Evaluation in PDMS:
VAR !ESTP eval stvnum ( /EQUIP/PROGRESS ) for all from !EQUI ignore any |na|

var !A eval name for all from !BrconItems

var !projcode proj code q var !!evar( ‘$!projcode’ + ‘000’) $* 8192

где xxx – выражение на PML1, например ALL BOX WHERE (XLEN + 10) FOR /MYSITE или ALL
BRANCH MEMBERS FOR /MYBRANCH

var !InstInLimits coll ALL WITHIN E1790684N1540775U32500 TO E1859057N1651425U41500


!InstInLimits = !InstInLimits.intersect(!!PdmsNameArray)

var !q collect all db with ( dbtype eq ‘CATA’ ) will collect all cata db

Advertisements

REPORT THIS ADPRIVACY

!!ce.para[7] = propre cwei of $!!ce.geodep[1]

q mem ccorse of owne of catref

var !u user q user $!u desc

q all ulogid

mcount eq 0

( ‘Труба ‘ + :SDES OF CMPR OF SPRE  )

q psatts

‘ATTLIS’,’AHLIST’,’HLIS’,’LLIS’,’OLIS’,’LIST’,’OWNLST’,’OHTYPE’
‘PPLS’,’PPVI’,’PPCOU’,’PLREFS’,’DDES’,’WDES’
‘TRANS’,’WTRANS’,’GMOF’,’NMOF’,’EVOL’,’LVOL’,’WVOL’

TEXIST

q var !!realFmt
q DBDEP

PML STATISTICS

!!commandMenu()

Q DTXR OF MTOR NUM 2

What to do when someone expunged you:


Please quit. Before quitting you
can use the “ALPHA FILE /filename” and “OUTPUT WORLD MEMBERS CHANGES”

Some formula in PDMS:


Q 3.14 * AVRADIUS / 2

TANF L ANG = L * TAN(ANG / 2)

Delete element in PDMS:


delete $!!ce.type

Delete all members for CE :


delete $!!ce.type memb

Select menu in PDMS:


!!APPDESMAIN.coreViewSettings.SETFIELDPROPERTY(‘V_TTIP’, ‘SELECTED’ , TRUE) !!
APPDESMAIN.coreViewSettings.SETFIELDPROPERTY(‘V_TTIP’, ‘SELECTED’ , FALSE) q var !!
APPDESMAIN.coreViewSettings.fieldproperty(‘V_TTIP’ , ‘SELECTED’)

q var !!APPDESMAIN.coreSelectMenu.fieldproperty(‘S_FHMO’ , ‘SELECTED’)

Visio functions:
DOCMD(1077)

SETF(“TxtAngle”,”0 deg”)

LOOKUP(Prop.CulcIsoMeth,Prop.CulcIsoMeth.Format)

=A1&CHAR(10)&B1

=PNTX(LOCTOPAR(PNT(Sheet.81!Connections.O2.X,Sheet.81!Connections.O2.Y),Sheet.81!
EventXFMod,EventXFMod))+-9 mm

Connection between Visio and Diagrams:


_058=: – visio > UDA

Use Synonyms in PDMS:


!!runSynonym(‘CALLIB …’)
PML expression:
!gphAutoColourCol = object COLOUR( ‘:UDA-COLOUR ‘)

Find type of object in PDMS:


q var !!CE.Attribute(‘name’).ObjectType().Eq(‘STRING’)

!anytemp = !!CE.Attribute(‘desc’)
q var !anytemp.ObjectType()

Rotate 3D View in PDMS:


do !x from 0 to 360 by 22.5

!!gphViews.look(!!gph3Ddesign1.view, S $!x E35D)

pause 0.05

enddo

Choose element from Spec:


choose SPec /SPEC WITH STYPE ‘STYPE’

Include across DB:


INCLUDE ACROSSDB /Name_Of_Object

Get variable in C# from PDMS:


string textpanel = command.GetPMLVariableString(“TEXTPANEL”)

Using inset:
Advertisements

REPORT THIS ADPRIVACY

if !!ce.type inset(‘VIEW’,’SHEE’,’DRWG’) then

( ATTRIB ICLASS INSET ( ‘CONTROL’ , ‘POWER’ ) )

Draft expression:
Btext ‘#HPOSU+(Pm:1)’

Update 3D view to drawlist limit:


!volume = object VOLUME(!!gphdrawlists.drawlists[1].members()) !!gphViews.limits(!!gphviews.views[1], !
volume)

Available to edit:
http://188.120.227.81/forum/index.php?showtopic=414&st=0&p=2978&hl=unset&fromsearch=1
C# expression eval:
if (!myEle.GetValidDouble(ATT_XLEN,length)) { // handle error in some way }

DbExpression expr = DbExpression.Parse(“DIAM OF PREV + 2”);


double dval;
ele.IsAttributeValid(DbAttributeInstance.SPREF)

DbExpressin dbexp = DbExpresion.Parse(“(SUBSTR(NAMN OF SITE,1,3))”);


elem.EvaluateString(dbexp);

Delegate in C# for PDMS:


public event PMLNetDelegate.PMLNetEventHandler DateSelected; //Наш эвент, проброшенный в ПМЛ

Sorting in PML:
!Indices = !bb.sortedindices()

!a.reindex(!Indices)

Eval expression:
!expression = object EXPRESSION(|NAME OF ZONE|)
!strZone = !expression.evaluate(!element)

Collect elements in Draft:


VAR !struForGlab VSCAN FOR ALL ( STRU ) IN CE

Find PML macro path:


!!pmldefinition( ‘comgotoref’)

!!pml.getpathname(‘youfile-from-pmllib’)

3D Catalogues:
http://www.witzenmann.at/witzenmann/wia/engineering/flexperte_download.php?
PHPSESSID=24fe0124250f4d2b4753af49b32c60e8
Plot dxf to plt:
1. Save as the (.dwg) to (.dxf) ex: TEST.DXF and put it into C:\AVEVA\Pdms11.6.SP3\plot folder (make sure the
file dformd.dll is located at same folder) 2. Use Command Prompt to type the below command (the bold text) c:\
Documents and setting> CD.. c:\> CD AVEVA c:\AVEVA> CD PDMS11.6.sp3 c:\AVEVA\CD PDMS11.6.sp3>
CD PLOT c:\AVEVA\CD PDMS11.6.sp3\PLOT> PLOT …

Run acad lisp:


acad.lsp
(command “netload” “C:\\Program Files\\ArcGIS for AutoCAD 300\\ArcGISForAutoCAD”)

Find selection in PDMS:


!sel = object SELECTION()

!sel.getcurrent()

!s = !sel.getselection()

q !s

Delete selection in PDMS:
!sel = object SELECTION()
!sel.getcurrent()
!s = !sel.getselection()
do !sVal values !s
$!sVal
handle any
elsehandle NONE
delete $!!ce.type
endhandle
enddo

Selected sheet in Draft:


!!appDraMain.sheet

Turn on rotate mode in PDMS 3D:


!!gphAlwaysRotate(!!gph3ddesign1.view, !!ce)

Select PDMS Appliction:


!!appxload(‘DES’, ‘GEN’, false)

Create collection in PML .NET:


DbCollection coll; PdmsMessage error; DbCollection.Parse(“xxx”, out coll, out error);

Find relative position:


!newPos = object position(ce) !newPosWrt = !newPos.Wrt(/NeededElement)

Execute C# in PML:
import ‘PDMSCommands’
handle ANY
endhandle

using namespace ‘Aveva.Pdms.Presentation.PDMSCommands’

!commandManager = object PMLNETCOMMANDMANAGER()


!commandManager.executeCommand(‘AVEVA.NewExplorer’)

Run C# PML.net:
IMPORT PMLNetClass

USING NAMESPACE Aveva.Pdms.Examples

!calcObj = object PMLNetClass()

!calcReceiver = object netcallback() !handle =

!calcObj.addeventhandler(‘PMLNetClassEvent’, !calcReceiver, ‘callback’)

! calcObj.Calculate(2,2)
How to create selection in DRAFT:
раз форму вызывается через создание объекта
то от вас требуется
в с# создать нового делегата PmlNetEventHandle
создать евент на кнопке которы при запуске будет вызывать так же и вашего делегата
в pml при создании обьекта вешаете свою функцию при нажатие на кнопку
а в функции пмл пишете требуемый вам xypos
всё должно работать

Find in DRAFT:
var !res FIND $!element in $!view

var !q VSCAN FOR ALL VALV

How to decript PDMS names:


IF CDC in the name of the form then: F – for FORM file name, for I – Initialise macro file name, M – file with
macros executed by form

Path to file tha execute after entering to modules:


%PDMSUI%\des\admin\vars

Change PDMS type to other:


changetype TO FLAN

Change text in ISODRAFT:


Attexts ( DTXS + DTXR) ON VALV

BOLT Length in PDMS:

Q P1 BOLT1 BLEN

Modfy model editor state:


!modelEditor = object STATE()

!modelEditor.modifymode(true)

Use condition in Paragon:


Xtext ( iftrue( bef ( name of pipe, ‘-‘ ) eq ‘/204’, ‘сталь 09Г2С’, ‘сталь 17Г1С’ ) )

(iftrue (Pritype EQ ‘EQUI’, NAME OF OWNER , iftrue (Pritype EQ ‘PIPE’, Ttext OF Detref , ‘ NEITHER PIPE
OR EQUI ‘)))

Create AIDs in PDMS:


AID TEXT NUM 102010 |Super Text| AT bla bla bla

Coordinates of Bottom\Top:
!topOfSteel = !!ce.wvolume[6]
!botOfSteel = !!ce.wvolume[3]
Some mac:
!!aidConstructors = object aidConstructors()
aid clear all
!sube = !!ce

var !pin1pos pin1pos


!pos1 = object position(!pin1pos)

var !pin2pos pin2pos


!pos2 = object position(!pin2pos)

!plane1 = !sube.position.plane(!pos1,!pos2)

!!aidConstructors.add(!plane1)
!radius = !pos1.line(!sube.position)

!arc1 = object arc(!sube.position, !plane1.orientation, 0,90,!radius.length(),true)


!arc1 = !arc1.Startposition(!pos2)
!arc1 = !arc1.EndPosition(!pos1)
!!aidConstructors.Add(!arc1)

!arc2 = object arc(!sube.position, !sube.orientation, 0,90,!radius.length(), true)


!arc2 = !arc2.Startposition(!pos2)
!arc2 = !arc2.EndPosition(!pos1)
!!aidConstructors.Add(!arc2)
q var !arc1

Check for difference in spref and lstube:


var !a eval (name + ‘ ‘ + name of spref  + ‘ ‘ + name of lstube) for all (bran mem) with( type ne ‘TUBI’ and name
of spec of spref ne name of spec of lstub ) for ce

TTY Mode CommandLine arguments(Monitor)


Switching Text Output:
TRACE OFF – Stops the automatic output of attribute data.
TRACE ON – Restarts automatic output of Current Element name and attributes.
Device Mode:
DEVICE NOGRAPHICS No graphics output
DEVICE GRAPHICS Graphics output as normal.
Admin include query:
q projid
When Created element:
!hist = hist
!hist.invert()
q sessdate $!hist[1]

Mark CE Name:
MARK WITH ( NAMN ) CE

Environment variables:
CAF_ADDINS_PATH
CAF_UIC_PATH

To find sequence by type : q tyseq


Collect using PML2:
!COLL = !!COLLECTALLFOR(” , ” , CE)

You might also like