IBM Support

HD30598: CAN NOT ADD 'ADD EXISTING LIBRARY'

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • Can not add 'Add existing library'
    This problem is specific on Japanese worstations.
    I reproduced the problem on JAPON1DSY (Vinci
    454) on V5R14.
    The scenario is very specific and you have to follow
    it exactly.( for example, if you  directly 'Add
    existing library..' and choose csvtable.catvba, it
    works!)
    .
    Scenario
    1. Copy attached catvba (3files) on to the optional
    folder.
    2. Start CATIA
    3. Tools / Macro / Macros
    4. Click : 'Macro libraries'
    5. Select Library type : VBAprojects
    6. Click : 'Add existing library..'
    7. Choose plotter.catvba from inside the copied
    folder.
    8. Choose zumen.catvba continuously.
    9. Close Macro libraries dialog box and Macros
    dialog box
    10. Close CATIA
    11. Re start CATIA
    12. Tools / Macro / Macros
    13. Click : 'Macro libraries'
    14. Select(Double click) : plotter.catvba from
    Current libraries
    15. Click :'Run'
    ==>"CATIA V5 plot" is displayed
    16. OK
    17. Tools / Macro / Macros
    18. Click : 'Macro libraries'
    19. Select(Double click) : zumen.catvba from
    Current libraries
    20. Click :'Run'
    ==>"CATIA V5 zumen" is displayed
    21. OK
    22. Tools / Macro / Macros
    23. Click : 'Macro libraries'
    24. Click : 'Add existing library..'
    25. Choose csvtable.catvba from inside the copied
    folder.
    26. Open
    ==> An Error is displayed
    CNEXT-CATScriptErrorMessages .
    ScriptingErr_1140
    Open macro
    library "F:|NULᄊᄒ006ᄊᄒcsvtable.catvba".
    An error has occurred while opening the library.
    Make sure the path exists and check the library
    permission
    .
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • The internal technical reason of the failure when
    trying to open the
    3 VBA projects delivered with this IR is an "Out Of
    Memory" exception raised
    by the Microsoft VBA API at the opening of the
    project called 'zumen.catvba'.
    You can see this "Out Of Memory" error displayed
    when you open only 'zumen.catvba'
    and when you Edit it in the VBA IDE ; when trying
    to edit the modules, you get a prompt error
    message "Out of Memory".
    When editing the 'zumen.catvba' project, I can only
    see one Module with a few code, but the size
    of the project is quite big for so few code. Editing
    this catvba file with the Microsoft tool DFVIEW.exe
    (DocFile Viewer) shows that this project seems to
    contains several other modules and forms.
    This file may be corrupted or generated with an
    incorrect version of VBA since it cannot be
    correctly
    viewed with the VBA IDE embedded in CATIA V5.
    Check the version of the used VBA that generates
    these projects.
    Can you edit all the modules and forms it contains?
    Another reason of the "Out of memory" problem
    may be due to a number of Public variables too big
    inside the
    VBA project.
    .
    

APAR Information

  • APAR number

    HD30598

  • Reported component name

    CATIA V5 NT>XP

  • Reported component ID

    569151000

  • Reported release

    513

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2004-11-10

  • Closed date

    2004-11-30

  • Last modified date

    2004-11-30

  • 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 V5"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"513","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
30 November 2004