APAR status
Closed as Permanent restriction.
Error description
If a "CATPart" of an old CATIA version is opened in "Visual mode" (Work with the cache system), the "CATPart" will be opened in "Design mode". . Reference: (in the Zip file) -Macro file (macro1.CATScript) -CATPart file (TEST.CATPart ) -CATSettings Platform: Windows2000 . 1) SampleMacro Copy local disk (ex.c:\CATIA_TEST) 2) SampleData(TEST.CATPart) copy local disk (ex.c:\CATIA_TEST) 3) Delete all files under "CATUserSettingPath" and "CATReferenceSettingPath". Copy a "CUST5293CATSettings" folder follower's "CATSettings" to "CATReferenceSettingPath". 4) Delete all a "CATCache" folder follower's files. (ex.D:\DassaultSystemes\Work\CATCache\) . Scenario 0) Start CATIA 1) Select "Tool" => "Options" (on Menu bar") ==>"Options" panel is displayed. 2) Activate "Options.." ->"Infrastructure" / "Cache Management" tab -> "Work with the cache system" 3) Click "OK" on the "Options" panel. 4) End CATIA. 5) Start CATIA again. (Visual Mode) 6) Create New "CATProduct" file. 7) Select "Tool" => "Macro" => "Macros..." (on Menu bar") ==>"Macro" panel is displayed. The C:\CATIA_TEST\ folder is specified in the following examples. 8) Click "Macro Libraries..." on "Macro" panel. ==> "Macro Libraries" panel is displayed. 9) Click "Directories" and Click "Add existing library.." on "Macro libraries" panel 10) Select the Folder on which "Macro" is set. ==> Click "OK" button. 11) Click "Close" on "Macro libraries" panel and the "Macro" panel is displayed again. 12) "Run" is clicked after selecting "macro1.CATScript" as "Available macros". => Open "TEST.CATPart". 13) TEST.CATPart Opened in "DesginMode". <= This is problem . This problem is not reproduced when cache file exists in "CATCache" folder. The CATIA version by which this TEST.CATPart was created is unknown. (R9?) "CATPart" created on "V5R12" does not reproduce this problem. "macro1.CATScript" was created on "V5R12SP2". This problem is reproduced on V5R13SP2. . CATIA should open a file in "Visual Mode", even when a Macro is used. .
Local fix
Problem summary
If the "CATPart" of an old CATIA version is opened in "Visu al mode", a "CATPart" will be opened in "Design mode" If a "CATPart" of an old CATIA version is opened in "Visual mode" (Work with the cache system), the "CATPart" will be opened in "Design mode". . Reference: (in the Zip file) -Macro file (macro1.CATScript) -CATPart file (TEST.CATPart ) -CATSettings Platform: Windows2000 . 1) SampleMacro Copy local disk (ex.c:\CATIA_TEST) 2) SampleData(TEST.CATPart) copy local disk (ex.c:\CATIA_TEST) 3) Delete all files under "CATUserSettingPath" and "CATReferenceSettingPath". Copy a "CUST5293CATSettings" folder follower's "CATSettings" to "CATReferenceSettingPath". 4) Delete all a "CATCache" folder follower's files. (ex.D:\DassaultSystemes\Work\CATCache\) . Scenario 0) Start CATIA 1) Select "Tool" => "Options" (on Menu bar") ==>"Options" panel is displayed. 2) Activate "Options.." ->"Infrastructure" / "Cache Management" tab -> "Work with the cache system" 3) Click "OK" on the "Options" panel. 4) End CATIA. 5) Start CATIA again. (Visual Mode) 6) Create New "CATProduct" file. 7) Select "Tool" => "Macro" => "Macros..." (on Menu bar") ==>"Macro" panel is displayed. The C:\CATIA_TEST\ folder is specified in the following examples. 8) Click "Macro Libraries..." on "Macro" panel. ==> "Macro Libraries" panel is displayed. 9) Click "Directories" and Click "Add existing library.." on "Macro libraries" panel 10) Select the Folder on which "Macro" is set. ==> Click "OK" button. 11) Click "Close" on "Macro libraries" panel and the "Macro" panel is displayed again. 12) "Run" is clicked after selecting "macro1.CATScript" as "Available macros". => Open "TEST.CATPart". 13) TEST.CATPart Opened in "DesginMode". <= This is problem . This problem is not reproduced when cache file exists in "CATCache" folder. The CATIA version by which this TEST.CATPart was created is unknown. (R9?) "CATPart" created on "V5R12" does not reproduce this problem. "macro1.CATScript" was created on "V5R12SP2". This problem is reproduced on V5R13SP2. . CATIA should open a file in "Visual Mode", even when a Macro is used. .
Problem conclusion
THIS PROBLEM IS PERMANENT RESTRICTION IN CATIA . Incident Diagnosis Once the macro is completed, CATPart is inserted in CATProduct, and the CATPart document is loaded in design mode. . Restriction Explanation The minimal mode available with the macro is not Visu (CATPart not loaded at all), but product mode, because it is an insertion (call CATIAProduct::AddComponentsFromFiles). This CATPart has a tesselation stored with a different SAG than the SAG used (provided CATSettings). It forces complete tesselation to create the good cgr in Cache. Insertion does not allow a full Unload of the document inserted after cache creation. . By-Pass Always use the same SAG. .
Temporary fix
Comments
APAR Information
APAR number
HD22658
Reported component name
CATIA V5/NT/200
Reported component ID
569151000
Reported release
513
Status
CLOSED PRS
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2004-05-18
Closed date
2004-05-25
Last modified date
2006-12-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 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:
22 December 2006