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.
Properties
- 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
dd>
- 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
- 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
- Property NumberOfFeedrateAttributes() As (Read Only)
- This property returns the number of Feedrate attributes of a Manufacturing Activity.
- Property NumberOfGeomAttributes() As (Read Only)
- This property returns the number of Geometry attributes of a Manufacturing Activity.
- Property NumberOfStrategyAttributes() As (Read Only)
- This property returns the number of Strategy attributes of a Manufacturing Activity.
- 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
- Property Representation() As
- This property returns the path of the representation file for a manufacturing Activity.
- 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
- 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
- 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
- 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
- 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)
- Func GetAttributeNLSName( iAttributName) As
-
Retrieve the NLS name from the attribute name of a Manufacturing Activity.
- 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)
- 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)
- 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)
- Sub GetMachiningDirection( oXAxis, oYAxis, oZAxis)
-
Retreives the Machining Direction coordinates of a Manufacturing Operation.
- Sub GetToolAxis( oXAxis, oYAxis, oZAxis)
-
Retreives the ToolAxis coordinates of a Manufacturing Activity.
- Sub SetMachiningDirection( iXAxis, iYAxis, iZAxis)
-
Defines the Machining Direction coordinates of a Manufacturing Operation.
- Sub SetToolAxis( iXAxis, iYAxis, iZAxis)
-
Defines the ToolAxis coordinates of a Manufacturing Activity.