Function Locate1LObj

 

Function Locate1LObj( ByVal nHandle&, ByVal nShowNearest& ) As Long

Purpose: Locate an object on the 1-line diagram (bus, generator, load, shunt, switched shunt, transmission line, transformer, switch, phase shifter, relay group)

Works in:      OneLiner and Power Flow.

Parameters:     

nHandle       [in] Handle number of the object.

nShowNearest [in] If the object is not visible show nearest visible one
 1 – Set; 0 - Reset

 

Return value:

0               Failure

1               Success