ProductStructure3DPartItf Interface CATIPrd3DPartFactory

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


interface CATIPrd3DPartFactory


Deprecated:
R211 Use CATIPrd3DPartReferenceFactory
Interface dedicated to the 3DPart Pattern Creation. Role: This interface enables to create explicit and implicit 3DPart object. A pointer on this interface can be retrieved using the CATPatternFactory class.


Method Index


o Create3DPart(CATListValCATICkeParm_var&,CATListValCATICkeParm_var&,CATListValCATICkeParm_var&,CATListValCATICkeParm_var&,CATIAdpEnvironment*,CATIPLMProducts*&)
o CreateImplicit3DPart(CATIPLMProducts*&)

Methods


o Create3DPart
public virtual HRESULT Create3DPart(CATListValCATICkeParm_var& iPublic3DPartListAttributes,
CATListValCATICkeParm_var& iControlled3DPartListAttributes,
CATListValCATICkeParm_var& iPublic3DShapeListAttributes,
CATListValCATICkeParm_var& iControlled3DShapeListAttributes,
CATIAdpEnvironment* ipEnv,
CATIPLMProducts*& opReference) = 0
Deprecated:
R211 Use CATIPrd3DPartReferenceFactory.Create3DPart
Creates a new 3DPart object.
Role: This method creates a Product Reference and a once instantiable Representation Reference that is instantiated under created Product Reference.
Note: Representation Reference is created in EditMode.
Parameters:
iPublic3DPartListAttributes
All Public writable Product Reference attributes. This list must contain at least all mandatory attributes and one of IdentifierSet.
iControlled3DPartListAttributes
Useless.
iPublic3DShapeListAttributes
All Public writable Representation Reference attributes. This list must contain at least all mandatory attributes and one of IdentifierSet.
iControlled3DShapeListAttributes
Useless.
ipEnv
The input PLM environment. This environment defines the Product Reference and Representation Reference customization type.
opReference[out,
CATBaseUnknown#Release] The created 3DPart object.
Returns:
  • S_OK if the 3DPart object has been successfully created.
  • E_FAIL if an unexpected error occured.
o CreateImplicit3DPart
public virtual HRESULT CreateImplicit3DPart(CATIPLMProducts*& op3DPart) = 0
Deprecated:
R211 Use CATIPrd3DPartReferenceFactory.Create3DPart
Creates a new 3DPart object.
Role: This method creates a Product Reference and a once instantiable Representation Reference that is instantiated under created Product Reference.
Note: Initializes PLM Attributes of created Product Reference and Representation Reference using Business Logic "IdentificationInitialization".
Representation Reference is created in EditMode.
Parameters:
op3DPart
[out, CATBaseUnknown#Release] The created 3DPart object.
Returns:
  • S_OK if the 3DPart object has been successfully created.
  • E_FAIL if an unexpected error occured.

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

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