Machining |
Inserting a PP Instruction before a Specified Activity |
![]() |
This macro CAAMaiInsertPPInstruction shows you how to insert a PP Instruction before a specified activity in a Manufacturing Program.
|
||||||
![]() |
CAAMaiInsertPPInstruction is launched in CATIA. Open the file 'Sample_Part.CATPart' located in the CAAScdMaiUseCases module, go to the Prismatic Manufacturing Programmer workbench and run the macro. CAAMaiInsertPPInstruction.CATScript is located in the CAAScdMaiUseCases module.
|
||||||
![]() |
CAAMaiManageMachiningAxisSystem includes 6 steps:
Retrieve the active CATProcess document
Retrieves the active document and sets it in the variable MfgDoc1. Retrieve the current Setup
Retrieves the current Setup and sets it in the variable Setup1. Retrieve the Manufacturing Program
Retrieves the Manufacturing Program and sets it in the variable Program1. Open a box to specify the activity before which the PP Instruction will be inserted
Opens a box to allow the user to specify the reference activity by its name. Create the PP Instruction
Creates the PP Instruction with the corresponding PP word. Move the PP Instruction before the specified activity
Moves the PP Instruction to the specified location. |
[Top]
This use case has shown how to insert a PP Instruction before a specified activity in a Manufacturing Program.
[Top]
[1] | Replaying a macro |
[2] | Machining automation objects |
[Top] |
Copyright © 2002, Dassault Systèmes. All rights reserved.