2.3.3.1. CATIA macro interface installation

This macro integration description is valid for following versions:

  • CATIA V5 R24 ff. (64 Bit)

  1. PARTsolutions Installation

    Install current PARTsolutions version.

  2. CADENAS Environment variable

    Make sure that the environment variable CADENAS is set.

    Via control panel, open the dialog area "Environment variables". The CADENAS environment variable points to where the software is installed (locally).

    For example, for a standard installation this would be:

    C:\Program Files (x86)\cadenas\partsolutions\software

  3. Copy needed files for CATIA interface

    1. Current interface files, provided by CADENAS, copy from ..\iface\catia folder into the software interface folder (..iface\catia) of your PARTsolutions installation.

    2. Copy the current configuration files ifcatia.cfg and ifcatiav<5|6>macro.cfg provided by CADENASfrom the setup directory to the setup directory of your PARTsolutions installation.

  4. Make CATIA environment configuration

    1. Click on Windows Start -> CATIA -> Environment editor to open the Environment Editor.

    2. Click Environment -> New to create a new environment.

  5. Add link to your interface icons

    Open and edit the following Cadenas.txt file:

    C:\Users\root\AppData\Roaming\DassaultSystemes\CATEnv\Cadenas.txt

    The key value of CATGraphicPath must point to the interface icons:

    CATGraphicPath=%CATGraphicPath%;<Schnittstellen-Installationspfad>
     software\iface\catia\VB\resources

  6. Add PARTsolutions Interface functions to CATIA

    1. Open your CATIA environment.

    2. Create a new toolbar by clicking on View -> Toolbars -> Customize.

    3. Switch to the Toolbars tab page.

    4. Click on New....

      -> The New Toolbar dialog box opens.

    5. Enter the name "PARTsolutions" under Toolbar name.

  7. Add macro library

    1. Click on Tools -> Macro -> Macros....

    2. Click on Macro libraries and then on Add existing library. Here you can set the path to the macros.

      C:\Program Files (x86)\cadenas\partsolutions\software\iface\catia\VB\V5

  8. Enable your toolbar and fill it

    1. Right-click on the toolbar and click on the created toolbar name in the context menu (in this case PARTsolutions ).

    2. Click on Toolbars -> Customize in the View menu.

      -> The Customize dialog box opens.

    3. Switch to the Commands tab page.

    4. Select Macros on the left under Categories.

    5. Select one of your commands on the right under Commands.

    6. Click on Show Properties....

      -> The Command Properties dialog area opens (button label changes to Hide Properties... ).

    7. Enter the desired display name of the function under Title. (In the picture above "Replace")

    8. Now you can drag and drop the command from the Categories -> Commands dialog area onto your toolbar.

      -> The interface icon set before is shown now.

Available functions

Icon

Tooltip

Description

( )

Insert 3D

Start from PARTdataManager and transfer of components from PARTsolutions to CATIA V5.

Replace

Replace PARTsolutions part against another

Geosearch

Perform a geometrical search

[Note]Note

Click on an individual menu item to jump to the appropriate place in the documentation. You can navigate back to the starting point by entering Alt + <-.