Click or drag to resize
CDBFindSymb Method
Get handle to the specified symbol.

Available since Oasis montaj version: 5.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.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", <define>DB_SYMB_CHAN</define>) is now equivalent to: GetXYZChanSymb_DB(hDB, <define>DB_CHAN_X</define>); 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 symb,
	int type
)

Parameters

symb
Type: SystemString
Name of symbol
type
Type: SystemInt32
<define>DB_SYMB_TYPE</define>

Return Value

Type: Int32
Symbol Handle, <define>NULLSYMB</define> if not defined
See Also