PF_Name Method

Description
Gets a part name from a part ID.

Syntax
Function PF_Name (PartID As Integer) As String

Parameters

  • PartID
    An integer indicating the part ID (1 to 16).

Return Value
Returns the name of the specified part ID as a character string.

Remarks
If the specified part ID is disabled, “ ” (empty character) is returned.

PF_Name Example
VB Example:

Dim part1Name As String  
Part1Name = m_spel.PF_Name(1)  

C# Example:

string part1Name;  
part1Name = m_spel.PF_Name(1);