Hi Civatrix,
Welcome to the forum.
There are a couple of options at your disposal, depends how you want to do it.
If you have a Value symbol on your display, you can get the PI tag name being used and the value being displayed. This is all achieved without any other references.
The other option is to have a reference to PISDK and access data that way, then manipulate the symbols.
Symbols on a display are all placed using Top, Left, Width, Height - a Display's top left corner starts at (-15000,15000) (Left, Top). Left increases to the right and Top decreases down.
I did a quick example with some VBA code so you get the idea of manipulating with just ProcessBook object and symbol libraries.
Code:
Private Sub HOISTHEIGHT_DataUpdate()
Const Multiplier As Integer = 20
' Get the value of the Value symbol "HoistHeight"
Dim vValue As Double, vStatus As Variant
vValue = ThisDisplay.HOISTHEIGHT.GetValue("*", vStatus)
' For specific methods of a value symbol you cast the Symbol to type Value symbol.
Dim ValueSymbol As Value
Set ValueSymbol = ThisDisplay.HOISTHEIGHT
vValue = ValueSymbol.GetValue("*", vStatus)
Set ValueSymbol = Nothing
' Next, set the height of the Line symbol
Dim LineSymbol As Line
Set LineSymbol = ThisDisplay.HOIST
' Set the hoist height, we will use multiplier for visual effect
LineSymbol.Height = vValue * Multiplier
' Now move the bucket to the end of the hoist
Dim Bucket As Rectangle
Set Bucket = ThisDisplay.Symbols("HOISTBUCKET")
Bucket.Top = (LineSymbol.Top - LineSymbol.Height)
Bucket.Left = (LineSymbol.Left + (LineSymbol.Width / 2)) - (Bucket.Width / 2)
Set Bucket = Nothing
Set LineSymbol = Nothing
End Sub
For this I just used "sinusoid" as the Hoist Height value and added a Value symbol named "HOISTHEIGHT". I added a Line symbol name "HOIST" and a Rectangle symbol named "HOISTBUCKET".
You could also use some tricks with a Bar symbol to simulate the hoist cable...I'll leave that one for now to see if this is along the lines of what you were after.
RJK Solutions attached the following image(s):

ProcessBook_Hoist.jpg
(23kb) downloaded 7 time(s).
OSIsoft PI System SpecialistsPI consultancy on PI Systems, PISDK, AFSDK, OLEDB etc and PI custom developments. Well pretty much anything to do with PI!