APAR status
Closed as user error.
Error description
Create & delete component into a CATProduct. SCENARIO: With The CATScript 1 - Open CATIA Session 1.1 Open tool / Option modify your Node Customization (Customized Display) by copying the info from NodeCustomization.txt 1.2 close your CV5 1.3 re-open your CV5 1.4 after opening your CV5 please continue these steps 2- Add new product (File. new) 3- Select the product root 4- execute the Macro to add a component (You observe that i add some attributes to the properties of the component) 5- delete the added component - (activate component right click mouse delete) JUST delete please 6- re-execute the Macro to add a component Expected Result: Each time the new component should get added with added attributes . Actual Result: component with added attributes gets added only at first time. .
Local fix
Problem summary
Problem conclusion
Temporary fix
Comments
Please find the below explanation for the problem i.e why this macro is not working at second time. In the Script, it is written explicitly the name of the new Product to insert. For the first insert, this name is not already taken by another product (no part number conflict). So, it is correctly inserted. After the delete, the deleted product is kept in memory (in case of undo). For the second insert, since there is already a product with the desired name, the insertion cannot be done with the given name. That's why it fails. By pass for the problem: Either the insertion need a precise name. So, in this case, the macro must be launched on an assembly that doesn't contain the name. Or you can insert the product without specifying its name. .
APAR Information
APAR number
HD54791
Reported component name
CATIA V5 NT>XP
Reported component ID
569151000
Reported release
516
Status
CLOSED USE
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2006-07-10
Closed date
2006-08-18
Last modified date
2006-08-18
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:
18 August 2006