You are on page 1of 6

How to Setup MDS?

08May
1. Open PDMS, select the project (example SAM) and go to Admin module.
2. Create 2 teams namely MDS and MDU, put the SYSTEM user to MDS and MDU team.
3. Include following databases (as a minimum) from MDS project (use username SYSTEM,
password XXXXXX)
a. MDS/CATA
b. MDS/DESITMPL-AISC
c. MDS/DESITMPL-GRI
d. MDS/DRAFT
e. MDS/MDSAPPDEFAULTS
f. MDS/PROP
g. MDS/WELDS
4. Include the following database from MDU project
a. MDU/CATA
5. Include the databases mentioned earlier to desired MDB.
6. Copy following file from MDSDFLTS folder (the folder under MDS project directory) to
defaults project folder (SAMDFLTS, under the SAM project directory). Forget to copy
these files and youll get errors.
a. DES-SUPP-NAMES
b. DRA-SUPP-DEFS
c. MDS-REPORT-DEFS
d. MdsUserData.pmldat
7. Go to Paragon and activate required MDS supports.
8. Go to Design and create Zones with purpose SUPP
Copy Image Command
07Dec
!imgPath = c:\temp\image.jpg
Import PMLNetUtilities
Handle (1000, 0)
Endhandle
import PDMSCommands
Handle (1000, 0)
Endhandle
using namespace Aveva.Pdms.PMLNet
!clipboard = object PMLCLIPBOARD()
using namespace Aveva.Pdms.Presentation.PDMSCommands
!commandManager = object PMLNETCOMMANDMANAGER()
!commandManager.executeCommand(AVEVA.View.CopyImage.Size1)
!clipboard.saveImage(!imgPath)




Importing a Backing Sheet from AutoCad
22Jun
Note: You must have Draft administration privileges before you proceed.
1. You will be creating a BACK element, which will be owned by a sheet library (SHLB). Either
find a suitable owner, or create a new one, noting the name. Ex. SHLB
/DRA/MAS/BACKS/COMPANY
(The SHLB can be owned by any LIBY, but to see the results of this exercise you may need to
change the PDMS Draft default backing sheet pointer to point to the correct SHLB..
SETTINGS > USER DEFAULTS )
2. Start AutoCad and open the backing sheet that is to be imported into PDMS.
3. From the AutoCad R14 application menu bar, choose Tools > Customize Menus. Browse for
and then Open CADCENTRE\pdms11.2\autodraftR13source\pdmsback.mnu. Click on the Load
button on the Menu Customization window. If you like, you may open pdmsdrft.mnu and
pdmssymb.mnu as well. This will allow total access to all AutoDraft facilities. You may open a
.mns (menu source file), a .mnc (compiled menu file), or a .mnu (menu template file). Note for
R13: If Tools > Menus is not an option, you may type in MENU at the AutoCad command line.
3a. You may load any single pdms*.mnu, or you can add all three options to the ACAD menu
group. To do this, click on the Menu Bar tab on the Menu Customization window. Select each of
the PDMS Menu Groups in turn and insert the PDMS Frame, PDMS Draw, and PDMS Symbol
menus before the Help menu, say.
4. From the AutoCad application menu bar, choose Tools > Load Application. The Load
AutoLISP, ADS, and ARX Files window will appear. Click on the File button. Navigate to
CADCENTRE\pdms11.2\autodraftR13 then open each .lsp file. After all files are open, then
select them all and click Load.
5. From the AutoCad command line type EXPLODE. Window around the backing sheet and
then Enter or right-click. Alternatively, you may type EXPLODE ALL. Note: This procedure
may not be necessary.
6. From the AutoCad application menu bar, choose PDMS Frame > Write sheet. If this menu
pick is not available, click Tools > Menus and load the appropriate .mnu, .mnc, or .mns file from
the \autodraftR13source directory. This command then prompts the user for the information
needed to create the PDMS macro file:
Select all items to be made
into a PDMS Backing/Overlay Sheet:
Select objects: Window around the backing sheet and then Enter or right-click.
Inch/<MM>: I <Enter>
Overlay/<Backing>: <Enter> to accept the default
Draft Sheet Library Name <CE>: DRA/MAS/BACKS/COMPANY (owner of the BACK)
Backing Sheet Name: DRA/MAS/BACKS/COMPANY/MOORE
Draft Command Filename: C:\TEMP\BACK.MAC (Name the macro file)
The PDMS AutoCad lisp routine will then generate a macro file. Note: If a full pathname of the
file is not entered, it will default to the AutoCad working directory.
7. As a PDMS Draft Administration user, go to the AutoDRAFT application: Draft >
AutoDRAFT
8. Select Import > SheetFrame When the Load AutoDRAFT Sheet Frame form is displayed,
enter the Directory and the Filename of the macro file, and then OK the form. PDMS will ask
you to confirm that you are Ready to load AutoCAD generated Sheet Frame. Note: The macro
may be executed from the command line if desired. Ex. $M/C:\TEMP\BACK.MAC
Go to AutoCad and Tools > Customize Menus and click the Menu Bar tab to remove the PDMS
options if desired.
If the backing sheet does not appear correctly, Check out the LIMITS in Autocad to make sure
they are set to the EXTENTS of the drawing. This can also be done by editing the macro file
directly using any text editor. At the top of the file there is a X and Y value that should
correspond to the sheet size. Remember, too, that the backing sheet must be exactly the same
size as the SHEE element in Draft.
Importing a Symbol from AutoCad
1. Start AutoCad and display the symbol that is to be imported into PDMS.
2. From the AutoCad R14 application menu bar, choose Tools > Customize Menus. Browse for
and then Open CADCENTRE\pdms11.2\autodraftR13source\pdmsback.mnu. Click on the Load
button on the Menu Customization window. If you like, you may open pdmsdrft.mnu and
pdmssymb.mnu as well. This will allow total access to all AutoDraft facilities. You may open a
.mns (menu source file), a .mnc (compiled menu file), or a .mnu (menu template file). Note for
R13: If Tools > Menus is not an option, you may type in MENU at the AutoCad command line.
3. You may load any single pdms*.mnu, or you can add all three options to the ACAD menu
group. To do this, click on the Menu Bar tab on the Menu Customization window. Select each of
the PDMS Menu Groups in turn and insert the PDMS Frame, PDMS Draw, and PDMS Symbol
menus before the Help menu, say.
4. From the AutoCad application menu bar, choose Tools > Load Application. The Load
AutoLISP, ADS, and ARX Files window will appear. Click on the File button. Navigate to
CADCENTRE\pdms11.2\autodraftR13 then open each .lsp file. After all files are open, then
select them all and click Load.
5. KEY IN: ATTDEF (FOLLOW PROMPTS)
6. HIT ENTER AFTER ATTRIBUTE MODES
7. ATTRIBUTE TAG: enter PDMS_NAME
8. ATTRIBUTE PROMPT: enter ENTER PDMS SYMBOL NAME (for example)
9. DEFAULT ATTRIBUTE VALUE: press Enter (or return)
10. Justify/Style/<Start point>: pick height and angle of where you want PDMS_NAME
(STEP 8) to appear.
11. Select PDMS Symbol > Make Symbol or KEY IN: PDMS_MAKE _SYMBOL then follow
the prompts.
12. INSERT BASE POINT: Select origin of symbol
13. SELECT OBJECTS: Window your symbol and text
14. SCALE FACTOR<1>: PRESS ENTER
15. ROTATION ANGLE<0>: PRESS ENTER
16. ENTER NAME: (Key in name you want to appear in Members list in PDMS)
17. From the AutoCAD menu bar, select PDMS Symbol>Write Symbol then follow the
prompts.
18. Window entire symbol and text
19. KEY IN: INCH
20. DRAFT SYMBOL LIBRARY NAME: KEY IN: NAME OF SYLB in which the symbol
will be stored
21. DRAFT COMMAND FILE NAME: Key in the name of macro file to be run in PDMS
AUTODRAFT (EX. ZZZ)
22. Now go into PDMS DRAFT as a SYSTEM USER
23. GO TO Draft>Administration and then Draft > AutoDRAFT
24. Select Import > Symbols
25. Fill in path to the location of the macro file (EX. C:\temp)
26. Fill in name of macro (Step 21 EX. ZZZ)
27. Pull out the replace all symbols button
28. Click OK
29. Thats it, you should have it.
30. Navigate to the specified library (Step 20)and look for your symbol name (Step 16).

You might also like