Enter the PDMS command stream
Thread Content
Let me start by giving an example:Query: Query attributes – Q Att; Query types – Q Type; Types that can be generated via queries – Q List; Query environment variables – Q evar pdmsuser.
Clear screen: Clear command line screen – Alpha request clear.
Creation/Generation: Create/Generate – New (Type); Deletion: Delete (Type).
Naming: Query names – q name, q fullname; Assign names – Name /Newname; Remove names – Unname; Rename all – Rename All, Ren all /100 /200.
Locking: Query lock status – Q Lock; Lock – Lock ce; Unlock – Unlock ce, Unlock All.
Display: Add to display list – Add CE; Automatically display at screen center – Auto CE; Remove from display list – Remove CE, Remove All.
Marking: Mark items – Mark ce; Remove marks – UnMark ce, UnMark All.
Positioning: Precise positioning – At, Pos At E1000 U2000, At X20 Y30; Query positions – Q pos, Q pos wrt Site, Q pos wrt /*; Relative positioning – By By E1000, By X20 Y30.
Navigation: Query members – Q Mem; Navigation commands: First, Last, Next, Previous, Owner, End.
Tracking: Go to reference point – Goto Spref; Return to previous level – Same.
Sorting: Reorder items; must be done at Owner level – Reorder 3 Before(After)1.
Level transfer: Include; transfer levels; first position items at their proper locations – Incl /Name, Incl Mem Of /Name, Incl /EQUIP BEF 3.
Copying combined commands: Memorize names – Setstar; place names inside * – Copy; combined commands – Set NEW EQUI /TEST-EQUI COPY * REN *.
Mouse selection: Select IDs via mouse – Cursor Id@; select key point IDs – Ppoint IdP@.
Basic entity connection: Connect P1 TO IDP@.
Saving: Save current work – Savework; retrieve latest design – Getwork; exit to Monitor – Quit; exit Pdms – Finish.
Directly enter modules or switch between them; create batch files to directly enter Design mode – d:\cadcentre\pdms11.4.sp1\pdms.bat SAM SAMPLE/SAMPLE /SAMPLE DESIGN.
Switch modules: Design, Draft, Paragon, Isodraft.
Switch MDB: MDB update User username/password /MDBname e*t.
Tracking: Track program execution process – $R6; stop tracking – $R; track both program execution and variable values, displayed in console – Pml trace on, Pml trace off.
Log command-line tracking content – log /filename $r6 … (execute program) $r log end.
File output/input: File output – File /D:\output.txt Output CE File End.
Execute macro programs – $m D:\output.txt.
Auxiliary positioning points: Up to 10 auxiliary points allowed – Pin1 AT U1000; disable auxiliary points – Pin1 Off.
Common PDMS piping modeling commands:
Create new Pipe/Branch; specify grade when creating Pipe – New Pipe /100-P-2003-2.5A1-ST(1) Pspec /2.5A1 Ispec /IRWP Tspec /1X25.
Create Branch inheriting grade automatically – New Branch /100-P-2003-2.5A1-ST(1)/B1.
Branch connections: Branch head is PH; branch tail is PT – CONN PH TO /1205-N5 (/1205-N5 is a Nozzle); CONN PT TO LAST MEM; CONN PT TO /100-A8/T2 (/100-A8/T2 is a TEE); CONN PT TO P4 OF /VF205 (/VF205 is a VFWA.); CONN PH TO PT OF /100-A8/1 (/100-A8/1 is another Branch); CONN PH TO ID NOZZ@.
Create components: Choose; enable auto-connection – Choose AutoConnect On.
Select components from Branch level; view component descriptions – New Gask Choose Rtext (Or Stex, Ttex); New Flan Choose Rtext; New Elbo Choose All.
Select components via Stype – New Elbo Choose With Stype E; New Redu Choose With Stype CONC Abor 100 Lbor 80.
Branch direction: Change branch direction – Forward, Backward; reverse piping direction – Back.
New Elbo Choose All; reverse piping from Branch Tail – Back Tail.
Component connection: Connect to previous component – Conn; connect to next component – Conn To Next; force connection – Force Connect, Fconn, Fconn To Next, Fconn To Tail.
Change direction: Modify direction while altering Angle attribute – Dir E. Continue... Change direction of P3 point – Dir And P3 Is U45E.
Rotate components around axis – Orientate; typically used for rotating P3 point – Ori And P3 Is Up.
Modify component inlet/outlet points; change Arrive/Leave attributes – Arr 1 Leav 3.
Position alignment: Align positioning points along outlet direction of previous component relative to reference object – Thr /TANK5, Thr E3000, Thr ID@, Thr Nex, Thr Pt.
Combined positioning options: Distance-based positioning – Distance between component positioning points – Dist 1000; center positioning relative to reference object – From, To – DIST 200 FROM /TANK5, DIST 1000 TO NEXT.
Spool positioning: POS PA DIST 100 FROM PL OF PREV SPOOL DISTANCE P0.
Outer contour positioning: Position relative to reference object’s outer contour – Infront, Behind – DIST 30 INFRONT /WALL, DIST 125 BEHIND ID@; Onto, Under – DIST 35 ONTO /BEAM, DIST 125 UNDER IDP @.
Outer contour clearance: Component outer contour clearance – Clea 500.
Pipe bottom positioning: Pipe bottom/top positioning – Bop/Top – Bop Onto Id@, Bop 50 Onto Id@.
Branch head/tail positioning: Utilize last component for positioning – CONN PT TO LAST MEM POS PT DISTANCE 1000.
Comprehensive examples: Automatically generate vent valves.
Create new Branch – New Bran; connect Branch Head – Conn PH to ID@; set flow direction – For; enable auto-connection – Choose AutoConnect On.
First threaded nipple – New Ftub choose All; threaded vent valve – New Valv choose All; second threaded nipple – New Ftub choose All; return to Branch – Bran; finalize Branch – Conn PT to Last mem dtxr.
Detailed descriptions: detail text (or Dtxs, dtxt) – q mtxx; material description – material text (or Mtxy, Mtxz) – q abor; inlet diameter – arrive bore q lbor; outlet diameter – leave bore q aco; inlet connection type – arrive connect q lco; outlet connection type – leave connect q abop; inlet pipe bottom elevation – arrive bop q lbop; outlet pipe bottom elevation – leave bop q atop; inlet pipe top elevation – arrive top q ltop; outlet pipe top elevation – leave top q aod; inlet end outer diameter – arrive OD q lod; outlet end outer diameter – leave OD q mtcl; central length of pipeline following component – material center line length q p1, q p2 represent attributes of P1/P2 points