ProductStructureUseItf Interface CATIPrd3DPartReferenceFactory
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPrd3DPartReferenceFactory
Interface to create 3DPart.
Role: This interface is the factory to create 3DPart objects.
A pointer on this interface can be retrieved using the class.
Method Index
- o
Create3DPart(CATIAdpEnvironment*,CATListValCATICkeParm_var&,CATListValCATICkeParm_var&,CATIPLMProducts*&)
- Creates a new 3DPart.
- o
Create3DPart(CATIAdpEnvironment*,CATIType_var&,CATListValCATICkeParm_var&,CATListValCATICkeParm_var&,CATIPLMProducts*&)
- Creates a new 3DPart.
Methods
o Create3DPart
public virtual Create3DPart( | | ipEnv, |
| | iPrdAttributesValues, |
| | iPrdRepAttributesValues, |
| | op3DPartReference) |
-
Creates a new 3DPart.
Role: This method creates a Product Reference and a once instantiable 3DShape Product Representation Reference that is instantiated under created Product Reference.
This API invokes the following Business Logic Openness:
- PLMIdentificationInitialization
For any information about Business Logic Openness, refer to the CAA Encyclopedia documentation: Reference \ Business Logic Openness section.
Note: Representation Reference is created in EditMode.
- Parameters:
-
- ipEnv
- The environment defining the project. The project determines the deployment type to associate (or not) to the new PLM Object.
If the argument is NULL, the current environment is used.
- iPrdAttributesValues
- A list of Product attributes values.
This list must not contain deployment attributes.
This list must be empty.
- iPrdRepAttributesValues
- A list of Product Representation Reference attributes values.
This list must not contain deployment attributes.
This list must be empty.
- op3DPartReference
- [out, CATBaseUnknown#Release]
The created Product Reference.
This parameter MUST be provided by caller as NULL. This method returns E_INVALIDARG otherwise.
- Returns:
-
- S_OK if the 3DPart object has been successfully created.
- E_FAIL if internal error occurred, the 3DPart object is not created.
- INVALIDARG at least one argument is either missing or invalid.
o Create3DPart
public virtual Create3DPart( | | ipEnv, |
| | iPrdType, |
| | iPrdAttributesValues, |
| | i3DShapeAttributesValues, |
| | op3DPartReference) |
-
Creates a new 3DPart.
Role: This method creates a 3DPart, which consists of
- A terminal Product Reference
- A once instantiable and mandatory 3DShape Representation Reference aggregated under the created Product Reference.
This API invokes the following Business Logic Openness:
- PLMIdentificationInitialization
- PLMAggregationCheck
For any information about Business Logic Openness, refer to the CAA Encyclopedia documentation: Reference \ Business Logic Openness section.
Note: The Representation Reference is created in EditMode.
- Parameters:
-
- ipEnv
- The environment defining the project. The project determines the deployment type to associate (or not) to the new PLM Object.
If the argument is NULL, the current environment is used.
- iPrdType
- The Knowledge type of the Product Reference
Can be a modeler type, a discipline at creation or a functional specialization derived from VPMReference
- iPrdAttributesValues
- A list of Product attributes values.
This list must not contain deployment attributes.
This list must be empty.
- i3DShapeAttributesValues
- A list of Product Representation Reference attributes values.
This list must not contain deployment attributes.
This list must be empty.
- op3DPartReference
- [out, CATBaseUnknown#Release]
The created Product Reference.
This parameter MUST be provided by caller as NULL. This method returns E_INVALIDARG otherwise.
- Returns:
-
- S_OK if the 3DPart object has been successfully created.
- E_FAIL if internal error occurred, the 3DPart object is not created.
- INVALIDARG at least one argument is either missing or invalid.
This object is included in the file: CATIPrd3DPartReferenceFactory.h
If needed, your Imakefile.mk should include the module: CATProductStructureUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.