Indexes   

ManufacturingActivity (Object)

ManufacturingActivity defines a set of methods and mainly adds some specific methods and services in Manufacturing on ProcessPlan Activities.
Some methods have to be used carefully, they can have no meanly on a specific Activity. This methods allows to support operation from other domain either then Manufacturing.

Property Index

Active
Returns the activation state of the activity.
MachinableFeature
Retrieve the machinable area of a Manufacturing Activity.
MachiningTime
Retreive the milling time of a Manufacturing Activity.
NumberOfFeedrateAttributes
This property returns the number of Feedrate attributes of a Manufacturing Activity.
NumberOfGeomAttributes
This property returns the number of Geometry attributes of a Manufacturing Activity.
NumberOfStrategyAttributes
This property returns the number of Strategy attributes of a Manufacturing Activity.
Precedences
This property returns the interface which manages the precedences on the operation.
Representation
This property returns the path of the representation file for a manufacturing Activity.
ToolAssembly
Retreive the ToolAssembly of a Manufacturing Activity.
Tool
Retreive the Tool of a Manufacturing Activity.
TotalTime
Retreive the total Time of a Manufacturing Activity.
VideoResult
Retreive the video result path of a Manufacturing Activity.

Method Index

GetAttributeNLSName
Retrieve the NLS name from the attribute name of a Manufacturing Activity.
GetAttribute
Retreive the Attribute of a Manufacturing Activity.
GetListOfFeedrateAttributes
Retrieve the list of Feedrate attributes of a Manufacturing Activity.
GetListOfGeomAttributes
Retrieve the list of Geometry attributes of a Manufacturing Activity.
GetListOfStrategyAttributes
Retrieve the list of Strategy attributes of a Manufacturing Activity.
GetMachiningDirection
Retreives the Machining Direction coordinates of a Manufacturing Operation.
GetToolAxis
Retreives the ToolAxis coordinates of a Manufacturing Activity.
SetMachiningDirection
Defines the Machining Direction coordinates of a Manufacturing Operation.
SetToolAxis
Defines the ToolAxis coordinates of a Manufacturing Activity.

Properties


o Property Active() As
Returns the activation state of the activity.
Returns:
oActive The activation state of the activity
Example:
The following example returns in bActive the activation state of the activity firstActivity:
 Dim firstActivity As ManufacturingActivity
 Set firstActivity = ...
 Dim bActive As boolean
 Set bActive = firstActivity.Active
 
o Property MachinableFeature() As
Retrieve the machinable area of a Manufacturing Activity.
Example:
The following example retrieves in theMAF the machinable area of the activity firstActivity.
 Dim firstActivity As ManufacturingActivity
 Set firstActivity = ...
 Dim theMAF As ManufacturingMachinableArea
 Set theMAF = firstActivity.MachinableArea
o Property MachiningTime() As (Read Only)
Retreive the milling time of a Manufacturing Activity.
Example:
The following example retreives in theMachiningTime the time when the tool meets the workpiece (in minutes).
 theMachiningTime = firstActivity.MachiningTime
o Property NumberOfFeedrateAttributes() As (Read Only)
This property returns the number of Feedrate attributes of a Manufacturing Activity.
o Property NumberOfGeomAttributes() As (Read Only)
This property returns the number of Geometry attributes of a Manufacturing Activity.
o Property NumberOfStrategyAttributes() As (Read Only)
This property returns the number of Strategy attributes of a Manufacturing Activity.
o Property Precedences() As (Read Only)
This property returns the interface which manages the precedences on the operation. These collection defines the list of precedences for a manufacturing Activity.
Example:
The following example returns in precedences the interface that manage the precedences for the myActivity Activity :
 ...
 Set myActivity  = ... 
 Set precedences = myActivity.Precedences
o Property Representation() As
This property returns the path of the representation file for a manufacturing Activity.
o Property ToolAssembly() As (Read Only)
Retreive the ToolAssembly of a Manufacturing Activity.
Example:
The following example retrieves in CurrAssembly the manufacturing tool assembly of the manufacturing activity CurrActivity
 Set CurrAssembly = CurrActivity.ToolAssembly
o Property Tool() As (Read Only)
Retreive the Tool of a Manufacturing Activity.
Example:
The following example retreives in CurTool the manufacturing tool of Manufacturing Activity firstActivity
 Set CurTool = firstActivity.GetTool
o Property TotalTime() As (Read Only)
Retreive the total Time of a Manufacturing Activity.
Example:
The following example retreives in theTotalTime the total time of the activity firstActivity (in minutes).
 theTotalTime = firstActivity.TotalTime
o Property VideoResult() As (Read Only)
Retreive the video result path of a Manufacturing Activity. The path is empty if no video result.
Example:
The following example retreives in theVideoResult the video result of the activity firstActivity (in minutes).
 theVideoResult = firstActivity.VideoResult

Methods


o Func GetAttributeNLSName( iAttributName) As
Retrieve the NLS name from the attribute name of a Manufacturing Activity.
o Func GetAttribute( iAttribut) As
Retreive the Attribute of a Manufacturing Activity.
Example:
The following example retreives in RapidFeed the attribute MfgRapidFeed of Manufacturing Activity firstActivity
 Set RapidFeed = firstActivity.GetAttribute(MfgRapidFeed)
o Sub GetListOfFeedrateAttributes( oListOfAttributes)
Retrieve the list of Feedrate attributes of a Manufacturing Activity.
Each attribute is returned as the name of a CKE object.
Example:
The following example retrieves in oListOfAttributes the list of feedrate attributes of the Manufacturing Activity myActivity
 call myActivity.GetListOfFeedrateAttributes(oListOfAttributes)
o Sub GetListOfGeomAttributes( oListOfAttributes)
Retrieve the list of Geometry attributes of a Manufacturing Activity.
Each attribute is returned as the name of a CKE object.
Example:
The following example retrieves in oListOfAttributes the list of Geometry attributes of the Manufacturing Activity myActivity
 call myActivity.GetListOfGeomAttributes(oListOfAttributes)
o Sub GetListOfStrategyAttributes( oListOfAttributes)
Retrieve the list of Strategy attributes of a Manufacturing Activity.
Each attribute is returned as the name of a CKE object.
Example:
The following example retrieves in oListOfAttributes the list of Strategy attributes of the Manufacturing Activity myActivity
 call myActivity.GetListOfStrategyAttributes(oListOfAttributes)
o Sub GetMachiningDirection( oXAxis,
oYAxis,
oZAxis)
Retreives the Machining Direction coordinates of a Manufacturing Operation.
o Sub GetToolAxis( oXAxis,
oYAxis,
oZAxis)
Retreives the ToolAxis coordinates of a Manufacturing Activity.
o Sub SetMachiningDirection( iXAxis,
iYAxis,
iZAxis)
Defines the Machining Direction coordinates of a Manufacturing Operation.
o Sub SetToolAxis( iXAxis,
iYAxis,
iZAxis)
Defines the ToolAxis coordinates of a Manufacturing Activity.

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