Role: To access the technological data on connectors.
Properties
- Property AlignType() As (Read Only)
-
Returns the alignment type for this connector.
- See also:
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As CatPspIDLPartConnectorType ... objArg1 = objThisIntf.AlignType
- 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
- Property ClockType() As (Read Only)
-
Returns the clocking type (how symmetric this end is) for this connector.
- See also:
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As CatPspIDLPartConnectorType ... objArg1 = objThisIntf.ClockType
- Property FaceType() As (Read Only)
-
Returns the face type (normal or "transparent" support) for this connector.
- Parameters:
-
- oFaceType
- The face type. dd>
- See also:
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As CatPspIDLPartConnectorType ... Set objArg1 = objThisIntf.FaceType
Methods
- Func GetAlignmentConnector() As
-
Returns the Alignmnet connector.
- Parameters:
-
- oCntr
- Alignment connector dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Reference ... Set objArg1 = objThisIntf.GetAlignmentConnector
- 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) dd>
- oAlignmentDirection
- Three double values stand for X,Y,Z components of the alignment vector dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Product Dim objArg2 As PspListOfDoubles ... Set objArg2 = objThisIntf.GetAlignmentVector (objArg1)
- 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). dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Product Dim objArg2 As PspListOfDoubles ... Set objArg2 = objThisIntf.GetConnectorMathPlane (objArg1)
- Func GetDatumConnector() As
-
Returns the Datum connector.
- Parameters:
-
- oCntr
- Orientation connector dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Reference ... Set objArg1 = objThisIntf.GetDatumConnector
- Func GetFaceConnector() As
-
Returns the face connector.
- Parameters:
-
- oCntr
- Face connector dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Reference ... Set objArg1 = objThisIntf.GetFaceConnector
- Func GetOrientationConnector() As
-
Get Orientation connector.
- Parameters:
-
- oCntr
- Orientation connector dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Reference ... Set objArg1 = objThisIntf.GetOrientationConnector
- Func GetPosition( iRelAxis) As
-
Returns the Position of the connector.
- Parameters:
-
- iRelAxis
- The relative axis object (NULL means relative to parent). dd>
- oPosition
- X-Y-Z coordinates of the part connector Three double values stand for x,y,z coordinates dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Product Dim objArg2 As PspListOfDoubles ... Set objArg2 = objThisIntf.GetPosition (objArg1 )
- Func GetUpDirection( iRelAxis) As
-
Returns the UP direction of the connector.
- Parameters:
-
- iRelAxis
- The relative axis object (Nothing means relative to parent). dd>
- oUpDirection
- The connector face plane. dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Product Dim objArg2 As PspListOfDoubles ... Set objArg2 = objThisIntf.GetUpDirection (objArg1)
- Sub SetAlignmentConnector( iAlignCntr, ieAlignType)
-
Sets the Face connector.
- Parameters:
-
- iAlignCntr
- Alignment connector dd>
- ieAlignType
- Alignment connector Type dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Reference Dim objArg2 As CatPspIDLPartConnectorType ... objThisIntf.SetFaceConnector objArg1, objArg2
- Sub SetDatumConnector( iDatumCntr)
-
Sets the Datum connector.
- Parameters:
-
- iDatumCntr
- Datum connector. dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Reference ... objThisIntf.SetDatumConnector objArg1
- Sub SetFaceConnector( iFaceCntr, ieFaceType)
-
Sets Face connector.
- Parameters:
-
- iFaceCntr
- Face connector dd>
- ieFaceType
- Face connector Type dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Reference Dim objArg2 As CatPspIDLPartConnectorType ... objThisIntf.SetFaceConnector objArg1, objArg2
- Sub SetOrientationConnector( iOrientCntr, ieOrientation)
-
Sets Face connector.
- Parameters:
-
- iOrientCntr
- Alignment connector dd>
- ieOrientation
- Orientation connector Type dd>
- Example:
-
Dim objThisIntf As PspPartConnector Dim objArg1 As Reference Dim objArg2 As CatPspIDLPartConnectorType ... objThisIntf.SetOrientationConnector objArg1, objArg2