Support of DMU Batches: Using the TEAM PDM URL Command

DMU batch processes such as CATDMUUtility, CATDMUBuilder etc., support documents stored in SmarTeam.

The CATDMUUtility is a batch process enabling the generation of  cgr, 3dmap, hcg, wrl and NCGM formats from a CATIA file stored in a SmarTeam database. The CATDMUBuilder creates CATProducts corresponding to product stored in SmarTeam and stores them on dedicated local directories

To run a DMU batch process, you need an input parameter that corresponds to the location of a SmarTeam document. To retrieve this TeamPDM URL, you first need to use the TEAM PDM URL command.

This task assumes that the system administrator has added the TEAM PDM URL command via SmarTeam Script Maintenance. For details, see Support of DMU Batches (Creating the TEAM PDM URL Command).

Retrieving the Document's Identifier

The first step of the process consists of retrieving the identifier of the input document that needs to be processed with a DMU batch.

  1. Launch SmarTeam.

  2. Search for the CATIA document you want to convert with the DMU batch.

  3. Right-click the document and select User Defined Tools > TEAM PDM URL.

  4. Retrieve the information displayed.

    The URL is always as follows:

    TeamPDM://DBExtractor?CLASSID.EQ.xxx.AND.OBJECTID.EQ.xxx.AND.Vers.EQ.1

    The numbers corresponding to the document "class id" and "object id" are the only values you can modify.
    The output document is located on the File system and can be integrated in SmarTeam using the CATIA CAI Automation APIs.

Launching the DMU Batch

Once the identifier of the input document has been retrieved, you can use the DMU batch you want.

  1. Launch the DMU batch using CATStart.
    For more information on how to launch the DMU batch, see the DMU Navigator Version 5 User's Guide.

  2. Use TeamPDMURL as the input parameter along with the -id option and -db TeamPDM. For example:

    CATDMUUtility -id TeamPDM://DBExtractor?CLASSID.EQ.682.AND.OBJECTID.EQ.965.AND.Vers.EQ.1 -cache -db TeamPDM -server none -user joe