All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ManufacturingInterfaces Interface CATIMfgMachiningContainer

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

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


interface CATIMfgMachiningContainer

Interface to manage the machining activities container.
Role: This interface allows to initialize the machining activities container.


Method Index


o GetCurrentActivity(CATIdent,CATBaseUnknown_var&)
Retrieves the current activity responding to given interface.
o GetRootActivity(CATBaseUnknown_var&)
Gets the root activity.
o GetUnSequencedActivity(CATBaseUnknown_var&)
Retrieves the current program.
o InitContainer(boolean,int)
Initializes the activity container.
o RefreshVisuForCurrentSetup()
Updates the visu of activities belonging to the current Part Operation.
o SetCurrentActivity(CATBaseUnknown_var&)
Sets the current activity.

Methods


o GetCurrentActivity
public virtual HRESULT GetCurrentActivity( const CATIdent iInterface,
CATBaseUnknown_var& oCurrentActivity) = 0
Retrieves the current activity responding to given interface.
Parameters:
iInterface
The filtering interface
oCurrentActivity
The current activity
o GetRootActivity
public virtual HRESULT GetRootActivity(CATBaseUnknown_var& oRoot) = 0
Gets the root activity.
Parameters:
oRoot
The root activity
o GetUnSequencedActivity
public virtual HRESULT GetUnSequencedActivity(CATBaseUnknown_var& oActivity) = 0
Retrieves the current program.
Parameters:
oActivity
The current program
o InitContainer
public virtual HRESULT InitContainer(boolean iDestroyExistingData,
int iCreateDefaults=1) = 0
Initializes the activity container.
Parameters:
iDestroyExistingData
Not used
iCreateDefaults
To determine if default activities (Part Operation and program) have to be created.
Legal values: 1 if default activities have to be created. This is the default value. Any other value otherwise.
o RefreshVisuForCurrentSetup
public virtual HRESULT RefreshVisuForCurrentSetup()= 0
Updates the visu of activities belonging to the current Part Operation.
o SetCurrentActivity
public virtual HRESULT SetCurrentActivity( const CATBaseUnknown_var& iCurrentActivity) = 0
Sets the current activity.
Parameters:
iCurrentActivity
The current activity

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

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