All Frameworks  Object Hierarchy  This Framework  Indexes   

PspPhsyicalProduct (Object)

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

Property Index

Connectors
Returns a list of Part connectors of the object.

Method Index

AddConnector
Returns the added connector on the object.
RemoveConnector
Removes part connector.

Properties


o Property Connectors() As (Read Only)
Returns a list of Part connectors of the object.
Example:
 Dim objThisIntf As PspPhsyicalProduct  
 Dim objArg1 As PspListOfObjects
  ...
 Set objArg1 = objThisIntf.Connectors 
 

Methods


o Func AddConnector( iClassFilter,
iFaceCntr,
ieFaceType,
iAlignmentCntr,
ieAlignType,
iClockCntr,
ieClockType) As
Returns the added connector on the object.
Parameters:
iuClassFilter
Connector class type. If null string application default connector class will be used.
iFaceCntr
A face connector
ieFaceType
Face connector type
iAlignmentCntr
An alignment connector
ieAlignType
Alignment connector type
iClockCntr
A clock connector
ieClockType
A clock connector type
Returns:
Part connector added
Example:
 Dim objThisIntf As PspPhsyicalProduct

 Dim strVar1 As CATBSTR
 Dim objArg2 As Reference
 Dim objArg3 As catPspIDLPartConnectorType
 Dim objArg4 As Reference
 Dim objArg5 As catPspIDLPartConnectorType
 Dim objArg6 As Reference
 Dim objArg7 As catPspIDLPartConnectorType
 Dim objArg8 As PspPartConnector
  ...
 objArg8 = objThisIntf.AddConnector (strVar1, objArg2,objArg3,objArg4, objArg5,objArg6,objArg7 )
 
o Sub RemoveConnector( iCntrToRemove)
Removes part connector.
Parameters:
iCntrToRemove
Part connector to be removed
Example:
 Dim objThisIntf As PspPhsyicalProduct

 Dim objArg1 As PspPartConnector
  ...
 objThisIntf.RemoveConnector objArg1
 

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