APAR status
Closed as Permanent restriction.
Error description
STCAI : after first SAVE when ST script renames original CATIA filename, some hierarchical links are not created Prerequire: 1.Work with cache in CATIA. 2.Use attached database 3.Copy the scripts from the attached zip to the Smarteam script directory. However only the script xxxxx_SetDesc.bs is needed for this scenario 4.Copy the CATIA data files from the ZeusAssembly.zip to the Smarteam working directory Scenario: 1.Launch CATIA 2.Open ᄄZeus Main assembly.CATProductᄄ with CATIA File menu 3.Connect to Smarteam from CATIA 4.Select ᄄZeus Main assembly.CATProductᄄ and save it to Smarteam in the Test ᄄTest DS CAIᄄ project using SMARTEAM/SAVE command (choose Link to project and Add to desktop). Note: Several messages of this type appear: ***************************************** These invalid characters in the file name have been removed ***************************************** This is a normal message from the customization, a warning in fact. ... But after that you see the defect, you get the SMARTEAM message: ***************************************** Error No: 00012 Internal Error. The program was unable to complete the operation due to an internal error. Please report the following details to your System Administrator: Wrong Class Handle. The Handle may not have been initialized for Class '-32767' ****************************************** And then many CATIA reports like the following one: ***************************************** The document E:\tmp\73783\Assembly\Battery Cover.CATPart hasn't been linked. see below: Object integration behavior in SmarTeam is: TDM_CATIA_PART, Object link behavior in SmarTeam is: TDM_CAT_PRODUCT_LNK. ***************************************** .
Local fix
Problem summary
STCAI : after first SAVE when ST script renames original CATIA filename, some hierarchical links are not created Prerequire: 1.Work with cache in CATIA. 2.Use attached database 3.Copy the scripts from the attached zip to the Smarteam script directory. However only the script xxxxx_SetDesc.bs is needed for this scenario 4.Copy the CATIA data files from the ZeusAssembly.zip to the Smarteam working directory Scenario: 1.Launch CATIA 2.Open Zeus Main assembly.CATProduct with CATIA File menu 3.Connect to Smarteam from CATIA 4.Select Zeus Main assembly.CATProduct and save it to Smarteam in the Test Test DS CAI project using SMARTEAM/SAVE command (choose Link to project and Add to desktop). Note: Several messages of this type appear: ***************************************** These invalid characters in the file name have been removed ***************************************** This is a normal message from the customization, a warning in fact. ... But after that you see the defect, you get the SMARTEAM message: ***************************************** Error No: 00012 Internal Error. The program was unable to complete the operation due to an internal error. Please report the following details to your System Administrator: Wrong Class Handle. The Handle may not have been initialized for Class '-32767' ****************************************** And then many CATIA reports like the following one: ***************************************** The document E:\tmp\73783\Assembly\Battery Cover.CATPart hasn't been linked. see below: Object integration behavior in SmarTeam is: TDM_CATIA_PART, Object link behavior in SmarTeam is: TDM_CAT_PRODUCT_LNK. ***************************************** .
Problem conclusion
THIS PROBLEM IS PERMANENT RESTRICTION IN CATIA. Restriction explanation: File renaming is not supported during a SMARTEAM Save operation. As an example, SMARTEAM SaveUniqueFilename option is not supported. The reason is renaming non loaded CATIA does not update the link information on the pointed documents. This is a limitation of the product. The SetDesc script should create a name only if the file does not exist on file disk. For the case of files on disk which are imported into SMARTEAM, the file name cannot be changed. It is why it is adviced to modify the files names before trying to import them into SMARTEAM. A by pass is possible by performing a utility (batch/script) that performs a Send To on the documents to be renamed. This is the only way to guarantee the integrity of the data. .
Temporary fix
Comments
APAR Information
APAR number
HD36825
Reported component name
CATIA V5 NT>XP
Reported component ID
569151000
Reported release
513
Status
CLOSED PRS
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2005-03-17
Closed date
2005-03-29
Last modified date
2005-10-19
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":"513","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
19 October 2005