John70
Aerospace
- Nov 16, 2009
- 1
Hi Can Anyone help,
I have a catia v5 nc process with PPwords in it. I need to read the content of these PPword using a VB CatScript. I am using a stripped down version of the catia toolist script. So roughly I am identify the mfg actvities getting the current activity name and type. If its a ppword then I need to read the message out of this. I have tried the following.
Func GetPPWord( ) As CATBSTR
dim Message as CATBSTR
Message = firstToolmotion.GetPPWord
End Function
The code falls over because I do not know how to implement firsttoolmotion.
I am looking for something like Message=CurrentActivity.GetPPword when the current activity is a PPword type.
If any one can help It would be appreciated.
I have a catia v5 nc process with PPwords in it. I need to read the content of these PPword using a VB CatScript. I am using a stripped down version of the catia toolist script. So roughly I am identify the mfg actvities getting the current activity name and type. If its a ppword then I need to read the message out of this. I have tried the following.
Func GetPPWord( ) As CATBSTR
dim Message as CATBSTR
Message = firstToolmotion.GetPPWord
End Function
The code falls over because I do not know how to implement firsttoolmotion.
I am looking for something like Message=CurrentActivity.GetPPword when the current activity is a PPword type.
If any one can help It would be appreciated.