All Frameworks  Class Hierarchy  This Framework  Indexes   

ManufacturingInterfaces Interface 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 AddFeedrateParameterToActivity( const iActivity,
const iContainer,
const iTypeFeedrate,
const iTypeFeedrateMode,
const iTypeFeedrateValue,
const iTypeFeedrateMagnitude,
const iFeedrateValue= 0.0,
const iIsRapidPossible= FALSE)
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 AddSpindleParameterToActivity( const iActivity,
const iContainer,
const iTypeSpindle,
const iTypeSpindleMode,
const iTypeSpindleValue,
const iTypeSpindleMagnitude,
const iSpindleValue)
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 AddStrategyParameterToActivity( const iActivity,
const iName,
const iParm)
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.