All Frameworks  Class Hierarchy  This Framework  Indexes   

CATPlantShipInterfaces Interface CATIPspPhysicalProduct

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


interface CATIPspPhysicalProduct

Interface to manage the technological connectors on physical objects.
Role: To manage connectors on physical objects.


Method Index


o AddConnector(char*,int,IUnknown*,CATPspPartConnectorTypeEnum,IUnknown*,CATPspPartConnectorTypeEnum,IUnknown*,CATPspPartConnectorTypeEnum,CATIPspPartConnector**)
Add a connector.
o GetNumberOfConnectors(int&)
Get the number of connectors on this object.
o ListConnectors(char*,CATIUnknownList**)
Find all the connectors of this object.
o RemoveConnector(int)
Remove a connector.

Methods


o AddConnector
public virtual AddConnector( const iTechCtrClassType,
iCtrNumber,
iFaceConnector,
iEFaceType,
iAlignConnector,
iEAlignType,
iOrientationConnector,
iEClockType,
oTechConnector)
Add a connector.
Parameters:
iTechCtrClassType
Class type of the connector to be added.
iCtrNumber
Connector number.
iFaceConnector
Face connector.
iEFaceType
Connector face type to be set.
See also:
CATPspPartConnectorTypeEnum
iAlignConnector
Alignment connector.
iEAlignType
Connector alignment type to be set.
See also:
CATPspPartConnectorTypeEnum
iOrientationConnector
Orientation connector.
iEClockType
Connector orientation type to be set.
See also:
CATPspPartConnectorTypeEnum
oTechConnector
[out, IUnknown#Release] The new technological connector object created.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetNumberOfConnectors
public virtual GetNumberOfConnectors( oNumOfCtrs)
Get the number of connectors on this object.
Parameters:
oNumOfCtrs
Number of connectors on object.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o ListConnectors
public virtual ListConnectors( iTechCtrClassTypeFilter,
oListOfTechConnectors)
Find all the connectors of this object.
Parameters:
iTechCtrClassTypeFilter
Technological connector class types for filtering the output connector list.
oListOfTechConnectors
[out, IUnknown#Release] A list of technological connectors on this object. (members are CATIPspPartConnector interface pointers).
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o RemoveConnector
public virtual RemoveConnector( iCtrNumber)
Remove a connector.
Parameters:
iCtrNumber
The connector number of connector to be removed.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATIPspPhysicalProduct.h

Copyright © 2003, Dassault Systèmes. All rights reserved.