IBM Support

HD03687: "OPTIMIZATION" IN VB SCRIPT IS INCORRECTLY PERFORMED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • SCENARIO:
    1)Start CATIA,
    2)Open file CUST2220_V5R8SP2.CATPart
    WB:Knowledge Advisor
    3)Double click "VB Script.1" in tree.
    =>"Script Editor" panel is displayed.
    4)Click "Run" button in "Script Editor" panel.
    ==> Only "Optimization.3" in VB script is performed and
    Optimization panel is not closed.
    
    Expected result: Optimization.1 / .2 / .3 are performed
    separately and panels are closed.
    

Local fix

Problem summary

  • OPTIMIZATION IN VB SCRIPT IS INCORRECTLY PERFORMED.
    

Problem conclusion

  • THIS PROBLEM IS PERMANENT RESTRICTION IN CATIA
    
     INCIDENT DIAGNOSIS:
    OPTIMIZATION IN VB SCRIPT IS INCORRECTLY PERFORMED.
    
     TECHNICAL EXPLANATION FOR THE RESTRICTION:
    In fact, when you run an optimization with Vbscript,
    you can do it with or without the stop panel. This
    has a consequence on script behaviour : if you use
    the panel, it launches a command, which is natively
    asynchroneous. So if you can not run several
    optimizations in this mode. And you can not write a
    script that runs an optimization in this mode, gets
    the result and uses it.
    
     BY-PASS:
    There is a simple bypass : modify the argument of
    the Run method from True (with panel) to False.
    
    I've added following explanation in Run method in
    Vb documentation :
    WARNING : if argument is TRUE, the optimization is
    launched asynchronously, and you can not run
    several optimizations in this mode.
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD03687

  • Reported component name

    CATIA V5/NT/200

  • Reported component ID

    569151000

  • Reported release

    510

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2003-02-05

  • Closed date

    2003-02-26

  • Last modified date

    2006-12-26

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

Document Information

Modified date:
26 December 2006