IBM Support

HD75284: CATIA MACRO DOES NOT WORK CORRECTLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • Problem : -
    CATIA macro does not work correctly.
    .
    Scenario : -
    1) Launch CATIA.
    2) Modify the attached SAMPLE.catvba by defining
    the path at which the provided CATProduct and two
    CATParts are saved.
    3) Go to Tools->Options->Insrastructure->Product
    Structure->Cache Management tab
    Check ON Work with the cache system option.
    4) Delete all cache files defined under Cache
    Location path of option and restart CATIA.
    5) Go to Tools->Macro->Macros.
    6) Run the macro.
    => ERROR: A child file cannot get correctly.
    7) Once again Run the macro.
    => SUCCESS: A child file can get correctly.
    .
    Expected Result :-
    The first run of catvba should also be SUCCESS.
    .
    

Local fix

Problem summary

  • CATIA macro does not work correctly
    Problem : -
    CATIA macro does not work correctly.
    .
    Scenario : -
    1) Launch CATIA.
    2) Modify the attached SAMPLE.catvba by defining
    the path at which the provided CATProduct and two
    CATParts are saved.
    3) Go to Tools->Options->Insrastructure->Product
    Structure->Cache Management tab
    Check ON Work with the cache system option.
    4) Delete all cache files defined under Cache
    Location path of option and restart CATIA.
    5) Go to Tools->Macro->Macros.
    6) Run the macro.
    => ERROR: A child file cannot get correctly.
    7) Once again Run the macro.
    => SUCCESS: A child file can get correctly.
    .
    Expected Result :-
    The first run of catvba should also be SUCCESS.
    .
    

Problem conclusion

  • THIS PROBLEM IS PERMANENT RESTRICTION IN
    CATIA
    Incident Diagnosis :
    Read function in macro does not work correctly for
    the first time whereas Open works correctly by
    opening in the session.
    .
    Restriction Explanation
    To retirieve properties from document it needs to
    be loaded, first time it creates CGR and second
    time it retrieves the info correctly, Hence the
    behavior.
    .
    By-Pass
    Use Open instead of Read.
    Refer for more details the link below:
    http://v5doc/devdoc19/generated/interfaces/InfInte
    rfaces/interface_Documents_18392.htm#Read
    .
    .
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD75284

  • Reported component name

    CATIA V5 NT>XP

  • Reported component ID

    569151000

  • Reported release

    517

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-06-16

  • Closed date

    2008-08-22

  • Last modified date

    2008-08-22

  • 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":"517","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
22 August 2008