CATMecModUseItf Interface CATIMmiUseFeaturize

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


interface CATIMmiUseFeaturize

Interface to create a BRep feature from a selecting object or to duplicate a BRep feature.
Role: All methods of this interface work with the following set of attribute:

Duplication of the BRep feature is controlled by the following values: There are 2 ways to define the support, either through a mode, or a support:
The iMode value
These values can be combined together according to the following syntax: CATMfFeaturizeMode iMode = MfNoDuplicateFeature | MfPermanentBody | MfLastFeatureSupport;.
Anyway, the application has to aggregate the BRep feature in the structure so that it is involved in data management processes: delete, cut, copy, paste, update.


Method Index


o Featurize(CATIMmiUseMfBRep_var&,CATMmrLimitationType)
Creates a BRep feature.
o Featurize(CATIMmiUseMfBRep_var&,CATBaseUnknown_var&)
Creates a BRep feature.
o Featurize(CATIMmiUseMfBRep_var&,CATMfFeaturizeMode,CATMmrLimitationType)
Creates a BRep feature.
o Featurize(CATIMmiUseMfBRep_var&,CATMfFeaturizeMode,CATBaseUnknown_var&)
Creates a BRep feature.

Methods


o Featurize
public virtual Featurize( oBRepFeature,
iType= CATMmrDefaultLimitationType)
Creates a BRep feature.
Parameters:
oBRepFeature
[out] The created CATIMmiUseMfBRep feature.
iType
[in] The type of relimitation. If CATMmrDefaultLimitationType, the type of relimitation will be taken from the featurized object.
Returns:
S_OK
The feature is successfully created.
E_FAIL
An error occured.
o Featurize
public virtual Featurize( oBRepFeature,
const iSupport)
Creates a BRep feature.
Parameters:
oBRepFeature
[out] The created CATIMmiUseMfBRep feature.
iSupport
The explicit support.
Returns:
S_OK
The feature is successfully created.
E_FAIL
An error occured.
o Featurize
public virtual Featurize( oBRepFeature,
const iMode,
iType= CATMmrDefaultLimitationType)
Creates a BRep feature.
Parameters:
oBRepFeature
[out] The created CATIMmiUseMfBRep feature.
iMode
The creation mode.
Legal values:
  • MfNoDuplicateFeature,
  • MfDuplicateFeature,
  • MfInitialFeatureSupport,
  • MfSelectingFeatureSupport,
  • MfLastFeatureSupport,
  • MfTemporaryBody,
  • MfPermanentBody,
  • MfFeaturizeIntersection,
  • MfFeaturizeC1Intersection.
iType
[in] The type of relimitation. . If CATMmrDefaultLimitationType, the type of relimitation will be taken from the featurized object.
Returns:
S_OK
The feature is successfully created.
E_FAIL
An error occured.
o Featurize
public virtual Featurize( oBRepFeature,
const iMode,
const iSupport= NULL_var)
Creates a BRep feature.
Parameters:
oBRepFeature
[out] The created CATIMmiUseMfBRep feature.
iMode
The creation mode.
Legal values:
  • MfNoDuplicateFeature,
  • MfDuplicateFeature,
  • MfInitialFeatureSupport,
  • MfSelectingFeatureSupport,
  • MfLastFeatureSupport,
  • MfTemporaryBody,
  • MfPermanentBody,
  • MfFeaturizeIntersection,
  • MfFeaturizeC1Intersection.
iSupport
The explicit support.
Returns:
S_OK
The feature is successfully created.
E_FAIL
An error occured.

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

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