IBM Support

HD85478: CAN NOT RUN MACROS .

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM: Can not run macros
    .
    SCENARIO:
    01. Launch CATIA
    02. Create a new CATPart or switch to Part Design
    Workbench.
    03. Click "Tools - Macro - Macros".
    04. Click "Macro libraries"
    05. Select "VBA projects" as Library type,
    click "Add existing library".
    06. Select "SupportLines.catvba".
    Add "VBAProject1.catvba" by the same operations.
    (These files can be found from the attached zip
    files)
    07. Close "Macro libraries" dialog.
    08. Select "TEST_3D2" and click "Run".
    09. Select an any plane
    .
    RESULT:
    Macro does not run
    .
    EXPECTED RESULT:
    The dialog is shown if macro runs correctly
    .
    .
    

Local fix

Problem summary

  • PROBLEM: Can not run macros
    SCENARIO:
    01. Launch CATIA
    02. Create a new CATPart or switch to Part Design
    Workbench.
    03. Click "Tools - Macro - Macros".
    04. Click "Macro libraries"
    05. Select "VBA projects" as Library type,
    click "Add existing library".
    06. Select attached vba libraries to add them in the list
    07. Close "Macro libraries" dialog.
    08. Select "XXXX_XX2" module and click "Run".
    09. Select any plane
    RESULT:
    Macro does not run
    EXPECTED RESULT:
    Macro should run propely. A dialog should pop up that macro
    has run proprely
    

Problem conclusion

  • THIS PROBLEM WILL BE FIXED ON CATIA VERSION V5R20 GA level.
    Additional Closure Information:
    NOTE:
    For V5R19:
    Documentation for this issue will be delievered in the
    Program Directory of V5R19 SP07. This documentation explains
    user need to upgrade the VBA version to 6.5 to overcome this
    issue.
    In the program Directory this explaination can be found at:
    Manual Reference:
    Prerequisites > Solutions and Products > General and Open
    Issues > CATIA Infrastructure > CATIA Object Manager
    Topic: General Issues
    Documentation after correction is as below:
    VBA
    When using VBA in a 64-bit environment, you may encounter an
    error message from VBA indicating memory allocation problems
    or may not even succeed in loading your VBA project. These
    problems can be removed by upgrading to the most recent
    version, VBA 6.5.
    The VBAIDEinst.exe executable allows you to install the
    latest version of VBA. To perform this upgrade:
    Select Start > Programs > Command Prompt to open a Command
    Prompt window.
    Go to the directory of the installation CD 1, then to the
    Intel or win64 folder.
    Enter the command:
    VBAIDEinst.exe
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD85478

  • Reported component name

    CATIA V5 WIN 64

  • Reported component ID

    569165000

  • Reported release

    518

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-06-05

  • Closed date

    2009-11-24

  • Last modified date

    2009-11-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    CATIA V5 WIN 64

  • Fixed component ID

    569165000

Applicable component levels

  • R519 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA V5"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"518","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
24 November 2009