Category talk:CATIA DP VB

From scripting
Jump to: navigation, search

Hello, I'm a little bit concerned by using actions, reactions, knowledge paterns, ... the source code is duplicated in all CATParts that uses these objects. If this code no longer works in a future release of catia, it will be very difficult to fix it everywhere.

I have an example : let imagine that DS modifies a little bit a data structure, Catia V5R18 :

   Object A
       Object X

Catia V5R20

   Object A
       Object B
             Object X

all macros wich contains X.Parent to retrieve Object A will fail.

if source code is externalised, it is easy to modify it, because we can have a single source code. unfortunately, I've not found a way tou launch an external macro with parameters from knowledge patterns, reactions, ...

do you have any advice on this topic ?

Thank's, Henri