I have successfully used the following:
If scomp.SymbolBlock.SymbolType.ToString = "VDB_PIN" Then
Debug.Print("It's a pin")
EndIf
The text string comparison seems more reliable.
I have successfully used the following:
If scomp.SymbolBlock.SymbolType.ToString = "VDB_PIN" Then
Debug.Print("It's a pin")
EndIf
The text string comparison seems more reliable.