Frequently people ask how to share P&ID symbols and settings with others in the company.  In this article, we are going to walk through the steps of setting up a CADWorx P&ID to use network libraries.

Overview:

    1. Create a directory for symbols on your network.
    2. Copy the CADWorx symbols and menu symbol files to the network.
    3. Create a configuration file that sets the MENUSYMBOLFILE setting to the network path.
    4. Modify your profile search path to include your network library at the top.
    5. Share Settings.

    Creating a network directory for symbols

    Many companies have CAD folders already setup on the network.  If this is the case, try to follow the standard conventions in creating the folder.  If no standard exists, something like Z:\CAD\CADWorx P&ID\Blocks is quite suitable.

    Copy the symbols to the Network

    Big warning here…ONLY PUT .DWG FILES and .DAT FILES IN THE NETWORK FOLDER!  I avoid network installations where possible for reasons too numerous to delineate here.  However, let me say that I have run into several companies that were running old software when they had new software installed locally.  I think most of us are much more comfortable keeping the software installation on the user’s computer and sharing necessary files on the network.

    I recommend putting all of the CADWorx .dwg files and all of the .dat files (like Flow_Alt.dat) on the network in case people want to use them.  You can copy the files from here:

    image

    Set the MENUSYMBOLFILE setting

    Next we will set the MENUSYMBOLFILE setting by going to SETUP->Edit Config file.  If you used my directory structure, the setting is Z:\CAD\CADWorx P&ID\Blocks\Flow_Alt.dat

    SNAGHTML1dd8164

    SNAGHTML1de078c

    Adding the Support Search Path

    This step is more of an advanced user tweak, but it’s pretty easy.  In CADWorx, go to Options right-click->Options

    image

    Go to the Files tab, click Add, and click your network block library directory.  Move it to the top of the folder list.

     SNAGHTML1e28072

    Sharing Settings

    Half the work we did was to setup the library, the other half was to tweak our settings so we could use it.  To let someone else use the library, you need give them a copy of the configuration file (or have them change their own) from step 3, and their profile search path needs to be fixed as from step 4.

    The configuration file we edited was here:

    image

    Troubleshooting

    If the correct blocks are not coming in (or you are not geting any blocks at all) through the P&ID menus, the profile search path is not correct.  If the incorrect blocks are displayed in the P&ID menus, then the MENUSYMBOLFILE is not set correctly.

    If you need help setting up an installation for a bunch of users (i.e. you don’t want to walk around to every computer and mess with the profile), Contact Us

    These steps are enough for about 90% of the users 90% of the time. For those who need to add or have added custom lines or sections to P&ID, you’ll need to take care of a few tweaks in addition to the items above.  Again, Contact Us so we can help.

    This week on the forums djf posted a question about instrument buttons.  Eventually we came around to a feature I hadn’t thought about for long time…ok, I forgot it was there…sort of.  The good thing is djf was patient enough to wait for my memory to catch up with our conversation so we could get the issue resolved.
     
    The trick is that P&ID uses two types of commands to allow drawing new symbols, and customizing the user.lsp allows us to take full advantage of CADWorx P&ID.
     
    This pdf explains it all in detail, as it’s a little lengthy to repeat here.
     
    The video is available for viewing here and shows how to insert P&ID objects from tool palettes.
     
    David Wolfe
    Today, I’m going to stay in CADWorx Plant, this little trick also applies to CADWorx P&ID. In the setup dialog box, there is a button labeled Border. Now, most of us don’t use this, frankly, because we are using our own border, not one that is already shipped, and selecting the User Border option, just takes us out to browse, no different than an insert command would. So wouldn’t it be nice, if our borders were listed in the predefined, just like all those cool borders from COADE? It’s easier than you think.

    The first step is to go into your support directory, on a factory install, this is C:/CADWorx Plant 2008/Support, yours might differ. Once you are in the folder, look for a file named:

    Mvsetup.dfs

    This file can be opened in your favorite text editor, mine is TotalEdit, but NotePad works just as well.

    Once opened, the section that we are interested in looks like this:

    NAMES
    None
    36×24 (ANSI-D) ECAD,_Ecadbdr1.dwg,in
    11×8.5 (ANSI-A),_ansi_a.dwg,in
    8.5×11 (ANSI-V),_ansi_v.dwg,in
    11×17 (ANSI-B),_ansi_b.dwg,in
    11×17 (ANSI-B) Iso,_ansi_bi.dwg,in
    17×22 (ANSI-C),_ansi_c.dwg,in
    34×22 (ANSI-D),_ansi_d.dwg,in
    34×22 (ANSI-D) Vessel,_ansi_dv.dwg,in
    34×22 (ANSI-D) Tank,_ansi_dt.dwg,in
    44×34 (ANSI-E),_ansi_e.dwg,in
    ;36×24 Generic,_gen_d.dwg,in
    ;36×24 Generic no att.,_genna_d.dwg,in
    ;210×297 (ISO-A4),_iso_a4.dwg,mm
    ;420×297 (ISO-A3),_iso_a3.dwg,mm
    ;420×297 (ISO-A3) Iso,_iso_a3i.dwg,mm
    ;594×420 (ISO-A2),_iso_a2.dwg,mm
    ;841×594 (ISO-A1),_iso_a1.dwg,mm
    ;841×594 (ISO-A1) Vessel,_iso_a1v.dwg,mm
    ;841×594 (ISO-A1) Tank,_iso_a1t.dwg,mm
    ;1189×841 (ISO-A0),_iso_a0.dwg,mm
    END_NAMES

    You can see here that I’ve already gone ahead and made a few changes to mine, to give you an idea. Each line item is broke out into 3 sections, each separated by a comma.

    The first section is the name as you want it to appear in the dialog box, ie:

    36×24 ECAD Vessel Fab Border

    The second section is the drawing name itself, ie:

    _ECADBDR_VES_FAB.dwg

    The third section is the units that it inserts as, IN or MM.

    These, again, are separated by commas, withOUT a space after them. You can also comment out borders, by adding a semicolon in front of the description, the border is still there, but is just not visible.

    The last step you will need to do, is to copy your border into the SUPPORT directory. This is important, for CADWorx to find the file.

    You now get to have the borders you want and NEED available to you, right there from within the software.

    Hope this helps, and as always, let me know if there are any questions.

    © 2010 Process Design, from the OutsideSuffusion WordPress theme by Sayontan Sinha