APAR status
Closed as program error.
Error description
During the command a powercopy is instantiated within a part. We use the CATIUdfInstantiate::SetDestinationPath method to set the complete path of the destination part. This normally works ok. But if we use sets of parameters or sets of relations within the powercopy definition we get two problems: . 1. If we use CAA method CATIUdfInstantiate::Instantiate to instantiate the powercopy all features are instantiated within the destination part but the parameter sets and the relation sets defined in the powercopy are instantiated within the current ui-active product document. --> NOT ok ! 2. If the destination does not have any sets for parameters or relations the parameter and relation sets defined in the powercopy are not instantiated. This problem can also be seen within the interactive CATIA V5: . SCENARIO: - File/Open the attached document "PartWithPowerCopyAndSets.CATPart" to reproduce the problem. ==> The document containts a powercopy. - Edit the powercopy: The powercopy definition containts the sets "MyParameters" and "MyRelations". - Close the document. - Create a new part. - Instantiate the powercopy defined in "PartWithPowerCopyAndSets.CATPart". ==> The sets "MyParameters" and "MyRelations" are not instantiated (they are renamed ?) .
Local fix
Problem summary
PowerCopy with Sets of Parameters or Relations During the command a powercopy is instantiated within a part. We use the CATIUdfInstantiate::SetDestinationPath method to set the complete path of the destination part. This normally works ok. But if we use sets of parameters or sets of relations within the powercopy definition we get two problems: . 1. If we use CAA method CATIUdfInstantiate::Instantiate to instantiate the powercopy all features are instantiated within the destination part but the parameter sets and the relation sets defined in the powercopy are instantiated within the current ui-active product document. --> NOT ok ! 2. If the destination does not have any sets for parameters or relations the parameter and relation sets defined in the powercopy are not instantiated. This problem can also be seen within the interactive CATIA V5: . SCENARIO: - File/Open the attached document "PartWithPowerCopyAndSets.CATPart" to reproduce the problem. ==> The document containts a powercopy. - Edit the powercopy: The powercopy definition containts the sets "MyParameters" and "MyRelations". - Close the document. - Create a new part. - Instantiate the powercopy defined in "PartWithPowerCopyAndSets.CATPart". ==> The sets "MyParameters" and "MyRelations" are not instantiated (they are renamed ?) .
Problem conclusion
THIS PROBLEM WILL BE FIXED ON CATIA VERSION 5 RELEASE 13 GA lev el. NOTE THAT THIS PROBLEM WILL ALSO BE FIXED ON V5R12SP03. . Incident Diagnosis The first problem is corrected. If you use CATIUdfInstantiate::SetDestinationPath, the destination is now taken into account for relation set and parameter set. For the second point, it is PRS. The first parameter set is always named Parameters and the first relation set is always named Relations. . Correction Explanation Problem partially corrected (see above). . Answer and By-Pass None .
Temporary fix
Comments
APAR Information
APAR number
HD10899
Reported component name
CATIA V5/NT/200
Reported component ID
569151000
Reported release
510
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2003-09-09
Closed date
2003-11-20
Last modified date
2003-11-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
CATIA V5/NT/200
Fixed component ID
569151000
Applicable component levels
R512 PSN
UP
[{"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:
20 November 2003