All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ManufacturingInterfaces Interface CATIMfgManufacturingParameters

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIMfgManufacturingParameters
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIMfgManufacturingParameters

Interface to manage manufacturing parameters.

Role: CATIMfgManufacturingParameters has methods to manage manufacturing parameters.
Usage:
CATIMfgManufacturingParameters* piMfgManufacturingParameters = NULL;
HRESULT RC = CATInstantiateComponent("CATMfgManufacturingParameters", CATIMfgManufacturingParameters::ClassId(), (void**) &piMfgManufacturingParameters);
.....................
RC = piMfgManufacturingParameters->AddStrategyParameterToActivity(iActivity, iName, iParm);
.....................
double valFeedrate = 150.0;
RC = piParm->AddFeedrateParameterToActivity(iActivity, iContainer, Mfg_FinishingFeedrate, Mfg_FinishingFeedrateMode Mfg_FinishingFeedrateValue, Mfg_LinearFeedrateMagnitude, valFeedrate, FALSE); see CATMfgFeedAndSpeedDefs.h


Method Index


o AddFeedrateParameterToActivity(CATBaseUnknown_var&,CATIContainer_var&,CATUnicodeString&,CATUnicodeString&,CATUnicodeString&,CATUnicodeString&,double,CATBoolean)
Adds a feedrate parameter to an activity.
o AddSpindleParameterToActivity(CATBaseUnknown_var&,CATIContainer_var&,CATUnicodeString&,CATUnicodeString&,CATUnicodeString&,CATUnicodeString&,double)
Adds a spindle parameter to an activity.
o AddStrategyParameterToActivity(CATBaseUnknown_var&,CATUnicodeString&,CATBaseUnknown_var&)
Adds a strategy parameter to an activity.

Methods


o AddFeedrateParameterToActivity
public virtual HRESULT AddFeedrateParameterToActivity( const CATBaseUnknown_var& iActivity,
const CATIContainer_var& iContainer,
const CATUnicodeString& iTypeFeedrate,
const CATUnicodeString& iTypeFeedrateMode,
const CATUnicodeString& iTypeFeedrateValue,
const CATUnicodeString& iTypeFeedrateMagnitude,
const double iFeedrateValue= 0.0,
const CATBoolean iIsRapidPossible= FALSE) = 0
Adds a feedrate parameter to an activity.
Role: AddFeedrateParameterToActivity adds a feedrate parameter to an activity. This method may be used when building a new activity catalog.
Parameters:
iActivity
The manufacturing activity
iContainer
The container in which is located the manufacturing activity
iTypeFeedrate
The pre-defined type of the feedrate (example : Mfg_FinishingFeedrate)
iTypeFeedrateMode
The pre-defined mode of the feedrate (example : Mfg_FinishingFeedrateMode)
iTypeFeedrateValue
The pre-defined value of the feedrate (example : Mfg_FinishingFeedrateValue)
iTypeFeedrateMagnitude
The manufacturing magnitude used to define the feedrate (example : Mfg_LinearFeedrateMagnitude)
iFeedrateValue
The default value for the feedrate
iIsRapidPossible
TRUE if Rapid value is available for the feedrate
o AddSpindleParameterToActivity
public virtual HRESULT AddSpindleParameterToActivity( const CATBaseUnknown_var& iActivity,
const CATIContainer_var& iContainer,
const CATUnicodeString& iTypeSpindle,
const CATUnicodeString& iTypeSpindleMode,
const CATUnicodeString& iTypeSpindleValue,
const CATUnicodeString& iTypeSpindleMagnitude,
const double iSpindleValue) = 0
Adds a spindle parameter to an activity.
Role: AddSpindleParameterToActivity adds a spindle speed parameter to an activity. This method may be used when building a new activity catalog.
Parameters:
iActivity
The manufacturing activity
iContainer
The container in which is located the manufacturing activity
iTypeSpindle
The pre-defined type of the spindle speed (example : Mfg_FinishingSpindleSpeed)
iTypeSpindleMode
The pre-defined mode of the spindle speed (example : Mfg_FinishingSpindleSpeedMode)
iTypeSpindleValue
The pre-defined value of the spindle speed (example : Mfg_FinishingSpindleSpeedValue)
iTypeSpindleMagnitude
The manufacturing magnitude used to define the spindle speed (example : Mfg_AngularFeedrateMagnitude)
iSpindleValue
The default value for the spindle speed
o AddStrategyParameterToActivity
public virtual HRESULT AddStrategyParameterToActivity( const CATBaseUnknown_var& iActivity,
const CATUnicodeString& iName,
const CATBaseUnknown_var& iParm) = 0
Adds a strategy parameter to an activity.
Role: AddStrategyParameterToActivity adds a strategy parameter to an activity. This method may be used when building a new activity catalog.
Parameters:
iActivity
The manufacturing activity
iName
The parameter name
iParm
The parameter value modelized by a
CATICkeParm

This object is included in the file: CATIMfgManufacturingParameters.h
If needed, your Imakefile.mk should include the module: MfgItfEnv

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