GetUnitName

<< Click to Display Table of Contents >>

Manual > Reference > Methods >

GetUnitName


 

Gets the unit name.

 

 

 


syntax

strName = AxEng1.GetUnitName(

                                         UnitId

                                         )


Parameters

UnitId

 

type:

string

 

The unit index, a number between 0 and the number of units - 1.

 

Return Value

strName

 

type:

string

 

Unit name

 


Commentary

Returns the name of the unit.

 

 

 

 

 


reference