All Frameworks Class Hierarchy This Framework Previous Next Indexes
CATPlantShipInterfaces Interface CATIPspBuildPart
System.IUnknown
|
+---CATIPspBuildPart
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPspBuildPart
Interface to create and modify a part.
Role: To build and define a part.
Method Index
- o
ChangePartType(CATIProduct*,CATUnicodeString&,CATUnicodeString&,CATIProduct**)
- Change the part type of an existing part.
- o
ListPartParametricAttributes(CATIProduct*,CATListValCATUnicodeString*&)
- Retrieve a list of part parametric attribute names.
- o
NewPart(CATUnicodeString&,CATUnicodeString&,CATIProduct**,int)
- Create a new part.
- o
SetPartParametricAttributes(CATIProduct*,CATListValCATUnicodeString*)
- Set the part parametric attribute names.
Methods
o ChangePartType
-
Change the part type of an existing part.
- Parameters:
-
- iReferencePart
- Reference Product in CATPart document to modify.
- iPartType
- New part class type.
- iPartNumber
- New part number.
- oNewReferencePart
- New reference Product in CATPart document.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o ListPartParametricAttributes
-
Retrieve a list of part parametric attribute names.
- Parameters:
-
- iReferencePart
- Reference Product in CATPart document to query.
- oListofAttributeNames
- List of parametric attribute names.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o NewPart
-
Create a new part.
- Parameters:
-
- iPartType
- Part class type.
- iPartNumber
- Part number.
- oReferencePart
- [out, IUnknown#Release] Reference Product pointer in new CATPart document.
- iLightPart
- Optional parameter to indicate creation of a light part.
Default is not to create light part.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
o SetPartParametricAttributes
-
Set the part parametric attribute names.
- Parameters:
-
- iReferencePart
- Reference Product in CATPart document to modify.
- iListofAttributeNames
- List of parametric attribute names.
- Returns:
- An HRESULT value.
Legal values:
- S_OK
- operation is successful
- E_FAIL
- operation failed
This object is included in the file: CATIPspBuildPart.h