Machining |
Loading the Machining Workbench and Initializing the Setup Activity |
![]() |
This macro CAAMaiInitializeSetUp shows you how to launch NC Workbench and make an association between the Setup and the Part. |
|||||
![]() |
CAAMaiInitializeSetUp is launched in CATIA. Open the file 'Sample.CATPart' located in the CAAScdMaiUseCases module, and run the macro. CAAMaiInitializeSetUp.CATScript is located in the CAAScdMaiUseCases module. |
|||||
![]() |
CAAMaiInitializeSetUp includes five steps:
Retrieving the Active Part Document and the Associated Product
Retrieves the active Part document and sets it in the variable thePartDoc, then retrieves the associated Product and sets it in the variable theProduct. Creating a New Process Document
Creates a new Process document and sets it in the variable thePPRDoc. Starting the Prismatic Machining Workbench
Starts the Prismatic Machining Workbench. Retrieving the Current Setup of the Existing Process
Scans the Process activities, searches for the existing Setup and sets it in the variable theSetup. Associating the Product with the Setup Activity
Associates the Product with the Setup activity. |
[Top]
This use case has shown how to launch an NC Workbench and make an association between the Setup and the Part.
[Top]
[1] | Replaying a Macro |
[2] | Machining automation objects |
[Top] |
Copyright © 2002, Dassault Systèmes. All rights reserved.