| CDBFindSymb Method |
Get handle to the specified symbol.
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
To work with a specific column from a VA channel,
specify the VA element number in square brackets as part
of the VA channel name (e.g. "EM[3]" will treat the fourth
column of the VA channel as a VV).
For backward compatibility with GXs not employing the
GetXYZChanSymb_DB function, the following behaviour has
been introduced as of v5.1.3: (also true for "Y").
FindSymb_DB(hDB, "X", DB_SYMB_CHAN) is now equivalent to:
GetXYZChanSymb_DB(hDB, DB_CHAN_X);
In other words, the current X or Y is searched for, not
necessarily the literal "X" or "Y". This ensures that newer
databases, which might have "Easting" and "Northing"
(or other similar names) instead of "X" and "Y" will still
work with older GXs expecting "X" and "Y".
The new FindChan_DB searches using the exact channel name.
Syntax public int FindSymb(
string str1,
int i2
)
Public Function FindSymb (
str1 As String,
i2 As Integer
) As Integer
public:
int FindSymb(
String^ str1,
int i2
)
member FindSymb :
str1 : string *
i2 : int -> int
Parameters
- str1
- Type: SystemString
Name of symbol - i2
- Type: SystemInt32
See DB_SYMB_TYPEConstant
Return Value
Type:
Int32Symbol Handle,
NULLSYMBConstant if not defined
See Also