All Frameworks  Object Hierarchy  This Framework  Indexes   

PspPartConnector (Object)

Represent the Part Connector to manage the technological data on connectors.
Role: To access the technological data on connectors.

Property Index

AlignType
Returns the alignment type for this connector.
AttributeNames
Returns or sets a list of attribute names associated with this connector.
ClockType
Returns the clocking type (how symmetric this end is) for this connector.
FaceType
Returns the face type (normal or "transparent" support) for this connector.

Method Index

GetAlignmentConnector
Returns the Alignmnet connector.
GetAlignmentDirection
Retrieves the alignment direction outward normal to the face place position.
GetConnectorMathPlane
Returns the 9 doubles values for plane contains the connector position (plane origin), alignment direction (plane z-axis), and the up direction (plane y-axis).
GetDatumConnector
Returns the Datum connector.
GetFaceConnector
Returns the face connector.
GetOrientationConnector
Get Orientation connector.
GetPosition
Returns the Position of the connector.
GetUpDirection
Returns the UP direction of the connector.
SetAlignmentConnector
Sets the Face connector.
SetDatumConnector
Sets the Datum connector.
SetFaceConnector
Sets Face connector.
SetOrientationConnector
Sets Face connector.

Properties


o Property AlignType() As (Read Only)
Returns the alignment type for this connector.
See also:
CatPspIDLPartConnectorType
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As CatPspIDLPartConnectorType

  ...
 objArg1 = objThisIntf.AlignType
 
o Property AttributeNames() As
Returns or sets a list of attribute names associated with this connector.
Example:
 Dim objThisIntf As PspPartConnector
 Dim ojArg1 As PspListOfBSTRs
  ...
 Set ojArg1 = objThisIntf.AttributeNames
   
 
o Property ClockType() As (Read Only)
Returns the clocking type (how symmetric this end is) for this connector.
See also:
CatPspIDLPartConnectorType
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As CatPspIDLPartConnectorType

  ...
 objArg1 = objThisIntf.ClockType
 
o Property FaceType() As (Read Only)
Returns the face type (normal or "transparent" support) for this connector.
Parameters:
oFaceType
The face type.
See also:
CatPspIDLPartConnectorType
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As CatPspIDLPartConnectorType

  ...
 Set objArg1 = objThisIntf.FaceType
 

Methods


o Func GetAlignmentConnector() As
Returns the Alignmnet connector.
Parameters:
oCntr
Alignment connector
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Reference
  ...
 Set objArg1 = objThisIntf.GetAlignmentConnector
 
o Func GetAlignmentDirection( iRelAxis) As
Retrieves the alignment direction outward normal to the face place position.
Parameters:
iRelAxis
the relative axis object (Nothing means relative to parent)
oAlignmentDirection
Three double values stand for X,Y,Z components of the alignment vector
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Product
 Dim objArg2 As PspListOfDoubles
  ...
 Set objArg2 = objThisIntf.GetAlignmentVector (objArg1)
 
o Func GetConnectorMathPlane( iRelAxis) As
Returns the 9 doubles values for plane contains the connector position (plane origin), alignment direction (plane z-axis), and the up direction (plane y-axis). Nine double values stand for plane origin, and the two normalized vectors
Parameters:
iRelAxis
The relative axis object (Nothing means relative to parent).
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Product
 Dim objArg2 As PspListOfDoubles
  ...
 Set objArg2 = objThisIntf.GetConnectorMathPlane (objArg1)
 
o Func GetDatumConnector() As
Returns the Datum connector.
Parameters:
oCntr
Orientation connector
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Reference
  ...
 Set objArg1 = objThisIntf.GetDatumConnector
 
o Func GetFaceConnector() As
Returns the face connector.
Parameters:
oCntr
Face connector
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Reference
  ...
 Set objArg1 = objThisIntf.GetFaceConnector
 
o Func GetOrientationConnector() As
Get Orientation connector.
Parameters:
oCntr
Orientation connector
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Reference
  ...
 Set objArg1 = objThisIntf.GetOrientationConnector
 
o Func GetPosition( iRelAxis) As
Returns the Position of the connector.
Parameters:
iRelAxis
The relative axis object (NULL means relative to parent).
oPosition
X-Y-Z coordinates of the part connector Three double values stand for x,y,z coordinates
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Product
 Dim objArg2 As PspListOfDoubles
  ...
 Set objArg2 = objThisIntf.GetPosition (objArg1 )
 
o Func GetUpDirection( iRelAxis) As
Returns the UP direction of the connector.
Parameters:
iRelAxis
The relative axis object (Nothing means relative to parent).
oUpDirection
The connector face plane.
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Product
 Dim objArg2 As PspListOfDoubles
  ...
 Set objArg2 = objThisIntf.GetUpDirection (objArg1)
 
o Sub SetAlignmentConnector( iAlignCntr,
ieAlignType)
Sets the Face connector.
Parameters:
iAlignCntr
Alignment connector
ieAlignType
Alignment connector Type
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Reference
 Dim objArg2 As CatPspIDLPartConnectorType
  ...
 objThisIntf.SetFaceConnector objArg1, objArg2
 
o Sub SetDatumConnector( iDatumCntr)
Sets the Datum connector.
Parameters:
iDatumCntr
Datum connector.
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Reference
  ...
 objThisIntf.SetDatumConnector objArg1
 
o Sub SetFaceConnector( iFaceCntr,
ieFaceType)
Sets Face connector.
Parameters:
iFaceCntr
Face connector
ieFaceType
Face connector Type
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Reference
 Dim objArg2 As CatPspIDLPartConnectorType
  ...
 objThisIntf.SetFaceConnector objArg1, objArg2
 
o Sub SetOrientationConnector( iOrientCntr,
ieOrientation)
Sets Face connector.
Parameters:
iOrientCntr
Alignment connector
ieOrientation
Orientation connector Type
Example:
 Dim objThisIntf As PspPartConnector
 Dim objArg1 As Reference
 Dim objArg2 As CatPspIDLPartConnectorType
  ...
 objThisIntf.SetOrientationConnector objArg1, objArg2
 

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