Indexes   

ManufacturingProgram (Object)

A ManufacturingProgram for a Manufacturing Document.

Property Index

Activities
Give the List of Activities linked to a Manufacturing Program.
Comment
Return the Default Comment of a Manufacturing Program.

Method Index

AddGotoPoint
Add a Goto Point Operation to a Manufacturing Program.
AddGotoPointfromCoordinates
Add a Goto Point Operation to a Manufacturing Program.
AddPPInstruction
Add a PP Instruction to a Manufacturing Program.
AddRotabl
Add a Table Head Rotation instruction to a Manufacturing Program.
AddToolChangeMultipleFeeds
Add a Tool Change Operation to a Manufacturing Program.
AddToolChange
Add a Tool Change Operation to a Manufacturing Program.
AppendOperation
Create and Insert a Manufacturing Operation of a specified type to a Manufacturing Program.
AssociateOutputCode
Method is used for associate APT file to V4 program iFileName = path for APT file.
CompletewithPolarStrategy
Complete a list of Operation in a Manufacturing Program in Polar Mode.
CreateMOfromReport
Create a list of Operation in a Manufacturing Program, of a specified type.
GetNCOutputFile
Get the output file (APT or ISO) associated to the program (if associated during computation).
GetTableCurrentAbsolutePosition
Get the current absolute position of the Machine Table.
InsertOperation
Insert an existing Manufacturing Operation to a Manufacturing Program.
LockActivitesWithinProgram
Method is used for Locking and Unloking all activity in program Call on ManufacturingProgram on which Lock and Unlock want
MoveOperation
Move an existing Manufacturing Operation to a Manufacturing Program.
OrderAndCreateMOfromReport
Create a list of Operation in a Manufacturing Program, of a specified type.
UnlockActivitesWithinProgram

Properties


o Property Activities() As (Read Only)
Give the List of Activities linked to a Manufacturing Program.
Example:
The following example returns the list of Activities ActivitiesList linked to the manufacturing Program CurrentProgram
 Set ActivitiesList = CurrentProgram.Activities
o Property Comment() As
Return the Default Comment of a Manufacturing Program.
Example:
The following example return the comment ProgramComment of to the manufacturing Program CurrentProgram
 Set CurrentProgram.Comment= "ProgramComment"

Methods


o Func AddGotoPoint( iPointName) As
Add a Goto Point Operation to a Manufacturing Program.
Example:
The following example create, inserts and sequences in Program firstProgram a PTP point instruction GOTO1 to the Point wich alias isMyPoint
 Set GOTO1 = firstProgram.AddGotoPoint(MyPoint)
o Func AddGotoPointfromCoordinates( iX,
iY,
iZ) As
Add a Goto Point Operation to a Manufacturing Program.
 The coordinates you give as input for this method have to be expressed into
 the 'Absolute Axis System' not in the 'Machining Axis System' of the Part Operation.
Example:
The following example create, inserts and sequences in Program firstProgram a PTP point instruction GOTO1 to the Point wich coordinates areX,Y,Z
 Set GOTO1 = firstProgram.AddGotoPointfromCoordinates(X,Y,Z)
o Func AddPPInstruction( iPPInstruction) As
Add a PP Instruction to a Manufacturing Program.
Example:
The following example create, inserts and sequences in Program firstProgram a PP Instruction PPWORD1 with textPPWORD
 Set PPWORD1 = firstProgram.AddPPInstruction(PPWORD)
o Func AddRotabl( iRotabl,
iSens,
ival) As
Add a Table Head Rotation instruction to a Manufacturing Program.
Example:
The following example create, inserts and sequences in Program firstProgram a Rotabl ROTABL1 with argumentMODE and angleANGLE1
 Set ROTABL1 = firstProgram.AddRotabl(MODE,ANGLE1)
o Func AddToolChangeMultipleFeeds( iToolName,
iToolType,
iToolCatalog,
iNumFSData,
iNumSyntaxe) As
Add a Tool Change Operation to a Manufacturing Program.
Example:
The following example create, inserts and sequences in firstProgram a Tool Change Instruction with specified toolMyTool of specified type ToolTypein specified catalogToolCatalog
 Set ToolChange1 = firstProgram.AddToolChangeMultipleFeeds(MyTool,ToolType,ToolCatalog,NumFSData,Num)
o Func AddToolChange( iToolName,
iToolType,
iToolCatalog,
iNumSyntaxe) As
Add a Tool Change Operation to a Manufacturing Program.
Example:
The following example create, inserts and sequences in firstProgram a Tool Change Instruction with specified toolMyTool of specified type ToolTypein specified catalogToolCatalog
 Set ToolChange1 = firstProgram.AddToolChange(MyTool,ToolType,ToolCatalog,Num)
o Func AppendOperation( type,
AutoSequence) As
Create and Insert a Manufacturing Operation of a specified type to a Manufacturing Program.
if AutoSequence is set to 1, the new operation will be sequenced in the Program.
Example:
The following example creates, inserts and sequences in firstProgram the manufacturing operation ManufacturingOperation of type : type
 Set ManufacturingOperation = firstProgram.AppendOperation(Type,1)
o Sub AssociateOutputCode( iFileName)
Method is used for associate APT file to V4 program iFileName = path for APT file.... Call on V4 ManufacturingProgram
o Sub CompletewithPolarStrategy( iListeMfgActivity,
iAxeRef,
iSensRotation)
Complete a list of Operation in a Manufacturing Program in Polar Mode.
Example:
The following example complete in Program firstProgram a liste of Operation ListeMo with Reference Axis A and sens CLW
 Call firstProgram.CompletewithPolarStrategy(ListeMo,A,CLW)
o Func CreateMOfromReport( iReportSucceed,
iTypeMo) As
Create a list of Operation in a Manufacturing Program, of a specified type.
Example:
The following example create in Program firstProgram a liste of Operation ListeMo with type Drilling from a CATIAExpertReportSucceedCollection ReportSucceed.
 Set ListeMO = firstProgram.CreateMOfromReport(ReportSucceed,Drilling)
o Func GetNCOutputFile() As
Get the output file (APT or ISO) associated to the program (if associated during computation).
o Func GetTableCurrentAbsolutePosition( iActivityRef) As
Get the current absolute position of the Machine Table.
Example:
The following example gets in Program firstProgram the current Machine Table absolute position Angle from the Manufacturing activity reference iActivityRef
 Angle = firstProgram.GetTableCurrentAbsolutePosition(iActivityRef)
o Sub InsertOperation( iReferenceOperation,
iManufacturingOperation)
Insert an existing Manufacturing Operation to a Manufacturing Program.
Example:
The following example inserts in firstProgram the manufacturing operation ExistingOperation after ReferenceOperation:
 call firstProgram.InsertOperation(ReferenceOperation,ExistingOperation)
o Sub LockActivitesWithinProgram()
Method is used for Locking and Unloking all activity in program Call on ManufacturingProgram on which Lock and Unlock want
o Sub MoveOperation( iReferenceOperation,
iManufacturingOperation)
Move an existing Manufacturing Operation to a Manufacturing Program.
Example:
The following example moves in firstProgram the manufacturing operation MovedOperation after the manufacturing operationExistingOperation:
 call firstProgram.MoveOperation(ExistingOperation, MovedOperation)
o Func OrderAndCreateMOfromReport( iReportSucceed,
iTypeMo,
iAxeRotabl,
iSensRotation) As
Create a list of Operation in a Manufacturing Program, of a specified type.
Example:
The following example create in Program firstProgram a liste of Operation ListeMo with type Drilling from a CATIAExpertReportSucceedCollection ReportSucceed with Rotabl of Axis A and sens CLW.
 Set ListeMO = firstProgram.OrderAndCreateMOfromReport(ReportSucceed,Drilling)
o Sub UnlockActivitesWithinProgram()

Copyright © 2006, Dassault Systèmes. All rights reserved.