APAR status
Closed as program error.
Error description
Problem with GetItem, implemented several times (and not well implemented for the VBExtensions) on a GSMGeom .
Local fix
Problem summary
Problem with GetItem, implemented several times (and not well i mplemented for the VBExtensions) on a GSMGeom Problem with GetItem, implemented several times (and not well implemented for the VBExtensions) on a GSMGeom .
Problem conclusion
THIS PROBLEM WILL BE FIXED ON CATIA VERSION 5 RELEASE 18 GA level. . Integration CATIVbExtension for HybridShape object Type . CATIAHybridShape in implemented by default on GSMGeom ==> All feature derivating from GSMeom benefit from this implemetation . General Principal BUT For Internal GSD derivated feature , DS provide CATIABaseAccess implementation allowing to retrieve directly on the exact IDL interface implementation of GSD object to access its parameters . For Customer derivated object , it is require to use the VBExtension mechanism VB Extension mechanism principal consist in implementing on Customer applicative code CATIVBExtension and CATICreateInstance interface on a class name "MyVBExtensionExt" The CATIVBExtension::GetObject implementation is used to retrieve the implementation of a dedicate CATIAxxxxidl interfaces on its object that allow to access in VB to all required informations on this object CATIxxxx.idl interface Object deriverd from CATIABase CATExxxx.cpp inplementation Object derived from CATBaseObject adaptor and is implemented on Customer object . Correction Explanation Correction performed DS default implementation did not allow the case to work correctly Enhancement is done in default implementation of CATIAHybridShape is : If Item is not identified as a DS object , Item is switch to VBExtension mechanism ( not correctly implemented previously) . Note : 1/ As far as in VB implementation HybridShape object implement CATIA Base twiche Ont trough CATIAReference derivation Ont trough CATIAHybridShape derivation Modifications are performed in both inmplementation GSMModel\CATGmoAutomation.m\src\CATGmoCAT IAReferenceExt.cpp GSMModel\CATGmoAutomation.m\src\CATHybridSh apeBasicExt.cpp . 2/ IT IS required then to update customer code as follow to make the corrections in HybridShape object implemention works correctly with VBExtension ==>CENSFKonzeptDoc/CENSFKFeature.m/src/CENE SFKFeature.cpp Need to be implementted on customer object: CATImplementClass( CENESFKFeature,DataExtension,CATBaseUnknown, CENSFKBase ); . ==>CENSFKonzeptDoc/CENSFKFeature.m/src/CENE SFKFeatureVBExtension.cpp ==>CENSFKonzeptDoc/CENSFKFeature.m/LocalInte rfaces/CENESFKFeatureVBExtension.h Do not required to derivate from CATBaseObject in .cpp: CENESFKFeatureVBExtension::CENESFKFeatureVBE xtension(): CATBaseUnknown() in .h: class CENESFKFeatureVBExtension: public CATBaseUnknown . ==> CENSFKonzeptDoc\CNext\code\dictionary\CENSFKo nzeptDoc.dico update: CENSFKBase CENIASFKFeature libCENSFKFeature CENESFKFeatureVBExtension CATIVBExtension libCENSFKFeature CENESFKFeatureVBExtension CATICreateInstance libCENSFKFeature .
Temporary fix
Comments
APAR Information
APAR number
HD58847
Reported component name
CATIA V5 NT>XP
Reported component ID
569151000
Reported release
516
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2006-11-07
Closed date
2007-03-16
Last modified date
2007-03-16
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>XP
Fixed component ID
569151000
Applicable component levels
R518 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":"516","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
16 March 2007