Role: The VB script behavior is designed to run a VBScript (or catvbs files) or to reference a VBA project. This interface derives from and enables the manipulation of the internal variables of the VBScript behavior.
Methods
- Sub Cancel()
-
Inform Client VB has Failed & Has Not operated.
- Example:
- Deprecated:
- V5R15 (Not needed) dd>
- Sub Done()
-
Inform Client VB has Successfully Finished.
- Example:
- Deprecated:
- V5R15 (Not needed) dd>
- Func GetInternal( pName) As
-
Returns one available io of the behavior.
The behavior has to be in executing mode, otherwise it fails
- Example:
-
This example retrieves in BehParameter
the internal parameter CATIAReference XXX
currently managed by a Behavior Beh.
Dim BehParameter as Parameter Set BehParameter = Beh.GetInternal("XXX")
- Sub PutInternal( pName, oValue)
-
provide output of one available io of the behavior.
The behavior has to be in executing mode, otherwise it fails
- Example:
-
This example assign the BehParameter containing a CATIAReference
to the internal parameter XXX
currently managed by a Behavior Beh.
Dim BehPower as Parameter Beh.PutInternal "XXX", BehParameter
- Sub Start()
-
Inform Client VB has Started.
- Example:
- Deprecated:
- V5R15 (Not needed) dd>
- Sub Suspend()
-
Inform Client VB has not completly finished the task and has to be called later on
- Example:
- Deprecated:
- V5R15 (Not needed) dd>
- Func TestInternal( pName) As
-
Test for one available output of the behavior.
The behavior has to be in executing mode, otherwise it fails
- Example:
-
This example test for the value existance of
an internal parameter XXX that may contain or not a CATIAReference
currently managed by a Behavior Beh.
if (Beh.TestInternal("XXX"))