DELFittingExtendItf Interface DELIFitExtendFactory

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


interface DELIFitExtendFactory

This interface allows to create Feature derived from DELBasicAssembly type.
The Feature can be created in Production System or Simulation context. It is compatible with Fitting Sequencing and can be seen in Gantt editor.


Method Index


o CreateAssemblyFeature(ExtendPLMContext,CATBaseUnknown_var&,CATUnicodeString&,CATBaseUnknown_var&)
Creates a Feature derived from DELBasicAssembly type.

Enumerated Type Index


o ExtendPLMContext
Enum to define in which context the Feature is created.

Methods


o CreateAssemblyFeature
public virtual CreateAssemblyFeature( iPLMContext,
ihFather,
iFeatureType,
hoActivityRef)
Creates a Feature derived from DELBasicAssembly type. The created Feature can be sequenced.
Parameters:
iPLMContext
The context in which the Feature is to be created: Production System or Simulation.
iFather
The father of the created Feature.
In Production System context, it must be an Operation occurrence. A related Assembly Activity is also created (
.
In Simulation context, it can be an Assembly Sequence ( . A related Assembly Activity is created ( . It can also be undefined, in this case no Assembly Activity is created.
iFeatureType
The feature type to create. It must be derived from published Feature type "DELBasicAssembly".
oActivityRef
The created feature. The related Assembly Activity can be retrieved with
.
Returns:
S_OK if Feature is correctly created. E_FAIL if an error occurred. E_INVALIDARG if given type is not derived from "DELBasicAssembly", or if Father is not compatible with creation context.

Enumerated Types


o ExtendPLMContext
enum ExtendPLMContext {
  Excitation,
  Operation
}
Enum to define in which context the Feature is created.
  • "Excitation" means the Feature is created in Simulation context as a simulation Excitation.
  • "Operation" means the Feature is created in Production System in the Documentation Rep of an Operation.

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

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