Role: To access Plant Ship Functional object information.
Properties
- Property CatalogPartName() As (Read Only)
-
Returns catalog part name of physical object that realizes this function.
- Example:
-
Dim objThisIntf As PspFunctional Dim strVar1 As CATBSTR ... Set strVar1 = objThisIntf.CatalogPartName
- Property FunctionStatus() As (Read Only)
-
Returns function object status.
- Example:
-
Dim objThisIntf As PspPhysical Dim objArg1 As CatPspIDLFunctionStatus ... objArg1 = objThisIntf.FunctionStatus
- Property PartCatalogName() As (Read Only)
-
Returns Part catalog name of physical object that realizes this function.
- Example:
-
Dim objThisIntf As PspFunctional Dim strVar1 As CATBSTR ... strVar1 = objThisIntf.PartCatalogName
- Property PartNumber() As (Read Only)
-
Returns part number of physical object that realizes this function.
- Example:
-
Dim objThisIntf As PspFunctional Dim strVar1 As CATBSTR ... strVar1 = objThisIntf.PartNumber
- Property PartType() As (Read Only)
-
Returns the part type of physical object that realizes this function.
- Example:
-
Dim objThisIntf As PspFunctional Dim strVar1 As CATBSTR ... strVar1 = objThisIntf.PartType
- Property Physicals() As (Read Only)
-
Returns a list of all associated physical objects.
- Example:
-
Dim objThisIntf As PspFunctional Dim objArg1 As PspListOfObjects ... Set objArg1 = objThisIntf.Physicals
- Property Standard() As (Read Only)
-
Return Standard.
- Example:
-
Dim objThisIntf As PspFunctional Dim strVar1 As CATBSTR ... strVar1 = objThisIntf.Standard
Methods
- Func GetCompatiblePartTypes( iuStandard) As
-
Retrieves a list of all physical part types that are compatible with this function.
- Parameters:
-
- iuStandard
- Standard name dd>
- Returns:
- List of Compatible Part Types. dd>
- Example:
-
Dim objThisIntf As PspFunctional Dim strVar1 As CATBSTR Dim objArg2 As PspListOfBSTRs ... Set objArg1 = objThisIntf.GetCompatiblePartTypes (strVar1)
- Func IsOKToIntegrate() As
-
Check it is OK to integrate (realize) this function with a physical part.
- Returns:
- TRUE if ok to be integrated dd>
- Example:
-
Dim objThisIntf As PspFunctional Dim objArg1 As boolean ... objArg1 = objThisIntf.IsOKToIntegrate
- Func IsRealized() As
-
Checks if the Function object is realized or not.
- Returns:
- TRUE if the object is Realized dd>
- Example:
-
Dim objThisIntf As PspFunctional Dim objArg1 As boolean ... objArg1 = objThisIntf.IsRealized
- Func IsSpecDriven() As
-
Checks if the functional object is specification driven or not.
- Returns:
- TRUE if this object is specification driven. dd>
- Example:
-
Dim objThisIntf As PspFunctional Dim objArg1 As boolean ... objArg1 = objThisIntf.IsSpecDriven
- Sub ListCompatiblePartNumbers( iuPartType, iuStandard, iuCatalogName, oLPartTypes, oLCatalogPartNames)
-
Retrieves a list of compatible Part numbers and part types.
- Parameters:
-
- iuPartType
- part type dd>
- iuStandard
- Standard name dd>
- iuCatalogName
- catalog name dd>
- oLPartTypes
- a list of part types dd>
- oLCatalogPartNames
- List of catalog part names dd>
- Example:
-
Dim objThisIntf As PspFunctional Dim strVar1 As CATBSTR Dim strVar2 As CATBSTR Dim strVar3 As CATBSTR Dim objArg4 As PspListOfBSTRs Dim objArg5 As PspListOfBSTRs .. .. objThisIntf.ListCompatiblePartNumbers strVar1,strVar2,strVar3,objArg4,objArg5