Hi!
New to Vb.Net here.
Trying to write a UD8 formula which extracts the right 3 characters of an Entity member name, only when the member is a base member.
Error message received says "'IsBase' is not a member of 'Member'."
Anyone know how to make this work?
If api.View.IsAnnotationType() Then
'Check if the member is a base member
If api.Pov.Entity.IsBase Then
'Return the last three characters of the member name
Dim membername As String = api.Pov.Entity.Name
Dim lastThreeChars As String = Right(membername, 3)
Return lastThreeChars
Else
'Return a NoData Datacell if not a base member
Return api.Data.CreateDataCellObject(0.0,True, False)
End If
Else
' Return a NoData Datacell if not an annotation type
Return api.Data.CreateDataCellObject(0.0, True, False)
End If