IBM Support

HD82124: MACRO RESULTS ARE DIFFERENT BETWEEN CATIA AND EXCEL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • Problem:
    Macro results are different between CATIA macro
    and Excel Macro.
    Scenario:
    1. Launch the CATIA.
    2. Open the attached Assy.CATProduct.
    .
    A. Standard Macro:
    3. Go to Tools > Macro > macros.
    4. Select the attached VBAProject1.catvba.
    5. Run the macro.
    .
    Actual Result:
    Instance name of Part "aaa" is changed. Link
    of "bbb\External References\Line.1" is not broken.
    .
    B. Excel macro:
    6. Close the CATProduct without saving and reopen
    it.
    7. Open the attached Book1.xls.
    8. Click on "CommandButton1" to run the macro.
    .
    Actual Result:
    Instance name of Part "aaa" is changed. But the
    link of  "bbb\External References\Line.1" is
    broken.
    .
    

Local fix

Problem summary

  • Macro results are different between CATIA and Excel
    Problem:
    Macro results are different between CATIA macro
    and Excel Macro.
    Scenario:
    1. Launch the CATIA.
    2. Open the attached Assy.CATProduct.
    .
    A. Standard Macro:
    3. Go to Tools > Macro > macros.
    4. Select the attached VBAProject1.catvba.
    5. Run the macro.
    .
    Actual Result:
    Instance name of Part "aaa" is changed. Link
    of "bbb\External References\Line.1" is not broken.
    .
    B. Excel macro:
    6. Close the CATProduct without saving and reopen
    it.
    7. Open the attached Book1.xls.
    8. Click on "CommandButton1" to run the macro.
    .
    Actual Result:
    Instance name of Part "aaa" is changed. But the
    link of  "bbb\External References\Line.1" is
    broken.
    .
    

Problem conclusion

  • THIS PROBLEM IS PERMANENT RESTRICTION IN
    CATIA.
    .
    Incident Diagnosis:
    Macro results are different between CATIA and
    Excel
    .
    Restriction Explanation:
    External Macros like macro from Excel file does not
    allow to reroute pointing objects and reconnection
    of elements.
    Rerouting of pointed objects can be maintained via
    only internal macros i.e from macros in CATIA only
    which can maintain the instance reference link.
    .
    By-Pass:
    Instance reference link can be maintained via
    CATIA macro only.
    .
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD82124

  • Reported component name

    CATIA V5 NT>XP

  • Reported component ID

    569151000

  • Reported release

    518

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-02-10

  • Closed date

    2009-03-06

  • Last modified date

    2009-03-06

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

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

Fix information

Applicable component levels

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

Document Information

Modified date:
06 March 2009