MachiningUseItf Interface DELIMfgViewAccess

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


interface DELIMfgViewAccess

Interface to add a manufacturing feature to the manufacturing view.

Role: DELIMfgViewAccess has methods to add a manufacturing feature to the manufacturing view.


Method Index


o AddFeature(CATBaseUnknown_var&)
Adds a manufacturing feature to the manufacturing view.
o CreateAllMachinableAreaFeatures(CATIPrdObject*,CATIPrdObject*)
Creates User Defined (UDF)Machinable feature by scanning through the given Finished Product and Machinable Feature product.
o CreateAllMachinableAreaFeaturesFromTechResultsOfUDF(CATIPrdObject*)
Creates Machinable feature using Technological Results of UDF.
o RemoveFeature(CATBaseUnknown_var&,int)
Remove a manufacturing feature to the manufacturing view.

Methods


o AddFeature
public virtual AddFeature( const iFeatureToAdd)
Adds a manufacturing feature to the manufacturing view.
Parameters:
iFeatureToAdd
The manufacturing feature to add
o CreateAllMachinableAreaFeatures
public virtual CreateAllMachinableAreaFeatures( iFinishPartProduct,
iMachFeaturesProduct)
Creates User Defined (UDF)Machinable feature by scanning through the given Finished Product and Machinable Feature product.
Parameters:
iFinishPartProduct
Is the Finished Product in Manufacturing View in which UDF features exist.
iMachFeaturesProduct
Is the Machinable Feature Product to which Finished Product Belong to .
Returns:
S_OK: UDF features has been created in Manufacturing View.
E_FAIL: Failed to Create UDF features in Manufacturing View.
o CreateAllMachinableAreaFeaturesFromTechResultsOfUDF
public virtual CreateAllMachinableAreaFeaturesFromTechResultsOfUDF( iFinishPartProduct)
Creates Machinable feature using Technological Results of UDF.
Example:
The following example takes iFinishPartProduct and Create MAF in MfgView:
 MfgView.CreateAllMachinableAreaFeaturesFromTechResultsOfUDF(iFinishPartProduct)
o RemoveFeature
public virtual RemoveFeature( const ispFeatureToRemove,
iNotify= 1)
Remove a manufacturing feature to the manufacturing view.
Parameters:
ispFeatureToRemove
The manufacturing feature to remove. Don't forget to delete feature after.
iNotify
The flag to indicate whether an event is sent.

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

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