APAR status
Closed as Permanent restriction.
Error description
ABSTRACT -Objects remain in CATIA memory even after closing all windows in the CATIA session. . SCENARIO- 1.Launch the CATIA R16SP04. 2.Open the 'Product 1' in CATIA. 3.Product 1 should be in Visualization mode. 4.Run the 'test.CATScript' using ' tools -Macros' option. 5.Msg box is displayed with value 5. 6.Second msg box is displayed with value 7. 7.Close all in CATIA. 8.Run the test.CATscript again. . PROBLEM It shows the msg box with value 2, indicating that two documents are still open , but not visible. . EXPECTED RESULT After closing all documents in CATIA , Result of CATScript should show zero value. . CATIA LEVEL-R16SP04 OS-Windows. SETTINGS-None. .
Local fix
Problem summary
objects remain in CATIA memory even after closing all windows in the CATIA session ABSTRACT -Objects remain in CATIA memory even after closing all windows in the CATIA session. . SCENARIO- 1.Launch the CATIA R16SP04. 2.Open the 'Product 1' in CATIA. 3.Product 1 should be in Visualization mode. 4.Run the 'test.CATScript' using ' tools -Macros' option. 5.Msg box is displayed with value 5. 6.Second msg box is displayed with value 7. 7.Close all in CATIA. 8.Run the test.CATscript again. . PROBLEM It shows the msg box with value 2, indicating that two documents are still open , but not visible. . EXPECTED RESULT After closing all documents in CATIA , Result of CATScript should show zero value. . CATIA LEVEL-R16SP04 OS-Windows. SETTINGS-None. .
Problem conclusion
THIS PROBLEM IS PERMANENT RESTRICTION IN CATIA. . RESTRICTION EXPLANATION- The ApplyWorkMode is performed on object that are not visualised (sub product level), but there are some instance visualised ( Root product level ). . BY-PASS The ApplyWorkMode should be called on the visualised level ( when there is a visualised one ). In the your case, the visualised level is the Editor level, here the Product1.CATProduct that is attached to the editor. . Another ByPass is that before running the macro, Open in other editors Product2.CATProduct and Product3.CATProduct. .
Temporary fix
Comments
APAR Information
APAR number
HD61259
Reported component name
CATIA V5 NT>XP
Reported component ID
569151000
Reported release
516
Status
CLOSED PRS
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2007-01-30
Closed date
2007-02-02
Last modified date
2007-02-02
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":"516","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 February 2007