MachiningUseItf Interface DELIMfgMacroMotions

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


interface DELIMfgMacroMotions

Interface to manage the macros of an operation.


Method Index


o GetMacroMotion(int,int)
Get the motion corresponding to the macro.
o IsActive()
tells if the macro is active.

Methods


o GetMacroMotion
public virtual GetMacroMotion( iPosition,
iNotify=0)
Get the motion corresponding to the macro.
Parameters:
iPosition
Indicates the type of the macor we want. Must be equal to 1 or 2. In function of the type of the macro, the returned motion changes. Macro Type | iPosition = 1 | iPosition = 2 ----------------------------------------------------------------- MfgApproachMacro | Approach | Global approach (in some axial operations only, like thread milling) MfgRetractMacro | Retract | Global retract (in some axial operations only, like thread milling) MfgLinkingMacro | Retract | Approach MfgClearanceMacro | Clearance | NOTHING MfgReturnOneLevelMacro | Retract | Approach MfgReturnTwoLevelMacro | Retract | Approach MfgReturnFinishPathMacro | Retract | Approach MfgBetweenPassesMacro | Between paths | Between paths link MfgAutomaticRoughingMacro | Automatic | NOTHING MfgPreRoughingMacro | Pre motions | NOTHING MfgPostRoughingMacro | Post motions | NOTHING
iNotify
The flag to indicate whether an event is sent.
Legal values:
  • = 1 : an event is sent to notify the change
  • other value : no event sent
Returns:
The corresponding motion.
o IsActive
public virtual IsActive()
tells if the macro is active.
Returns:
1 if the macro is active alse 0.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.