APAR status
Closed as Permanent restriction.
Error description
ABSTRACT :- LoadFromPDM API does not propagate error Message strings to VB and VB.Net. . SCENARIO:- Please refer the attached doc file for detail scenario. .
Local fix
Problem summary
LoadFromPDM API does not propagate error message strings to VB/ COM ABSTRACT :- LoadFromPDM API does not propagate error Message strings to VB and VB.Net. . SCENARIO:- Please refer the attached doc file for detail scenario. .
Problem conclusion
THIS PROBLEM IS PERMANENT RESTRICTION IN CATIA. Incident Diagnosis When LoadFromPDM API called from VBA script last error is cleaned after displaying erros in CATIA window . Restriction Explanation The last error has a meaning only inside a transaction so last error is cleaned at each end of a transaction. Hence when API called from client command, transction start in client code with CATCommand and End with command and last error can be retrived in client code using CATGetLastError(). When same API called from VBA, tranaction start in interop code in Display() method and end after showing error in CATIA window and cleans the last error hence last errro can not be retrived from clients code using CATGetLastError. . .
Temporary fix
Comments
APAR Information
APAR number
HD81306
Reported component name
CAA V5 NT>XP
Reported component ID
569151100
Reported release
518
Status
CLOSED PRS
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2009-01-09
Closed date
2009-02-12
Last modified date
2009-02-12
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 \u0026 Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"518","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
22 August 2024