MachiningUseItf Interface DELIMfgActivity
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface DELIMfgActivity
Interface dedicated to manufacturing operation management.
Role: This interface offers services mainly to manage links with the tool and the manufacturing or design feature
Method Index
- o
CheckToolChanges()
- Check Tool Changes on Activity
- o
GetAuthorizedFatherActivity(CATUnicodeString&,CATBaseUnknown_var&,CATBaseUnknown_var&)
- Get the types of allowed tools of our activity
- o
GetComment(CATUnicodeString&)
- Get comment on activity.
- o
GetCreationMode(int&)
- Get Creation Mode of activity
- o
GetFeature()
- Returns the manufacturing feature or design feature associated with the manufacturing operation.
- o
GetFeatureInContext()
- Returns the manufacturing feature associated with the manufacturing operation.
- o
GetPartOperation(CATBaseUnknown_var&)
- Retrieves the part operation of the Activity.
- o
GetPatternUsage(CATBaseUnknown_var&)
- Get the pattern usage of the activity.
- o
GetProgram(CATBaseUnknown_var&)
- Retrieves the Program of the Activity.
- o
GetTool()
- Returns the tool associated with the manufacturing operation.
- o
GetToolAndAssembly(CATBaseUnknown_var&,CATBaseUnknown_var&)
- Returns the tool and the tool assembly associated with the manufacturing operation.
- o
IsActive(int&)
- Return if activity is active or not
- o
IsSequencedInProgram(int&)
- Check if activity is sequenced
- o
SetActive(int)
- Set activity to active status
- o
SetComment(CATUnicodeString&)
- Set comment on activity.
- o
SetCreationMode(int)
- Set Creation Mode of activity
- o
SetFeature(CATBaseUnknown_var&,CATBaseUnknown_var&)
- Assign a feature to a Manufacturing Operation.
- o
SetPatternUsage(CATBaseUnknown_var&)
- Set the pattern usage of the activity.
- o
SetTool(CATBaseUnknown_var&,CATBoolean)
- Associates the tool with the manufacturing operation.
- o
Update()
- Update activity
Methods
o CheckToolChanges
public virtual CheckToolChanges( | ) |
-
Check Tool Changes on Activity
o GetAuthorizedFatherActivity
public virtual GetAuthorizedFatherActivity( | const | iType, |
| | oFather, |
| | oFatherChild) |
-
Get the types of allowed tools of our activity
- Parameters:
-
- iType
- Type
- oFather
- return father
- oFatherChild
- the father child
o GetComment
public virtual GetComment( | | oComment) |
-
Get comment on activity.
Role: Get comment on activity.
- Parameters:
-
- oComment
- [out] activity's comment
- Returns:
-
S_OK
Succeded
o GetCreationMode
public virtual GetCreationMode( | | oCreationMode) |
-
Get Creation Mode of activity
- Parameters:
-
- &oCreationMode
- Creation mode of activity
- Returns:
-
S_OK
-
E_FAIL
-
o GetFeature
public virtual GetFeature( | ) |
-
Returns the manufacturing feature or design feature associated with the manufacturing operation.
o GetFeatureInContext
public virtual GetFeatureInContext( | ) |
-
Returns the manufacturing feature associated with the manufacturing operation.
o GetPartOperation
public virtual GetPartOperation( | | oPartOperation) |
-
Retrieves the part operation of the Activity.
- Parameters:
-
- oSetup
- The Setup of the activity
o GetPatternUsage
public virtual GetPatternUsage( | | oPatternUsage) |
-
Get the pattern usage of the activity.
Role: Get the pattern usage of the activity.
- Parameters:
-
- oPatternUsage
- [out] Activity's pattern usage
- Returns:
-
S_OK
Succeded
o GetProgram
public virtual GetProgram( | | oProgram) |
-
Retrieves the Program of the Activity.
- Parameters:
-
- oProgram
- The Program of the activity
o GetTool
-
Returns the tool associated with the manufacturing operation.
o GetToolAndAssembly
public virtual GetToolAndAssembly( | | oTool, |
| | oAssembly) |
-
Returns the tool and the tool assembly associated with the manufacturing operation.
- Parameters:
-
- oTool
- The tool
- oAssembly
- The tool assembly
o IsActive
public virtual IsActive( | | oIsActive) |
-
Return if activity is active or not
- Parameters:
-
- oIsActive
- 0 if not active else 1 if active
- Returns:
-
S_OK
Succeded
o IsSequencedInProgram
public virtual IsSequencedInProgram( | | oIsSequenced) |
-
Check if activity is sequenced
- Parameters:
-
- oIsSequenced
- true if activity is sequenced
- Returns:
-
S_OK
-
E_FAIL
-
o SetActive
public virtual SetActive( | | iIsActive) |
-
Set activity to active status
- Parameters:
-
- iIsActive
- new active status
- Returns:
-
S_OK
Succeded
o SetComment
public virtual SetComment( | const | iComment) |
-
Set comment on activity.
Role: Set comment on activity.
- Parameters:
-
- iComment
- [in] Comment to define
- Returns:
-
S_OK
Succeded
o SetCreationMode
public virtual SetCreationMode( | const | iCreationMode) |
-
Set Creation Mode of activity
- Parameters:
-
- iCreationMode
- Creation mode of activity
- Returns:
-
S_OK
-
E_FAIL
-
o SetFeature
public virtual SetFeature( | const | iFeature, |
| const | iContext | = NULL_var) |
-
Assign a feature to a Manufacturing Operation.
- Parameters:
-
- iFeature
- The feature to be assigned. It can be a design feature, or a Manufacturing feature like Pattern or Machinable feature.
- iContext
- The product that contains the feature itself (case of a design feature) or the geometry pointed by the Manufacturing Feature.
o SetPatternUsage
public virtual SetPatternUsage( | const | iPatternUsage) |
-
Set the pattern usage of the activity.
Role: Set the pattern usage of the activity.
- Parameters:
-
- iPatternUsage
- [in] Given pattern usage
- Returns:
-
S_OK
Succeded
o SetTool
public virtual SetTool( | const | iTool, |
| const | iCheckToolChanges | = FALSE) |
-
Associates the tool with the manufacturing operation.
- Parameters:
-
- iTool
- The tool
- iCheckToolChanges
- A flag to indicate whether the tool changes should be checked
Legal values:
- TRUE: the check will be performed
- FALSE: no check
o Update
-
Update activity
- Returns:
-
S_OK
-
E_FAIL
-
S_FALSE
update can't be done on this activity-
This object is included in the file: DELIMfgActivity.h
If needed, your Imakefile.mk should include the module: MachiningUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.