Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catia VBScript Get PPWord

Status
Not open for further replies.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor