GridLoadCallback_xxxΒΆ

GridLoadCallback_xxx is called when the user presses the Load button in the data browser.

bool = GridLoadCallback_xxx()

Return Value

bool is TRUE (1), when the function was successful and otherwise FALSE (0).

Example

ADDIN_AddToUI(ADDIN_LOAD_FUNCTIONS, _s("3D: x/y/z"), "3D");
def GridLoadCallback_3D()
{
    ncid = GridGetNCID();
    ssNetCDFName = NC_DlgGetFileName();
    _CreateDataset(ncid, ssNetCDFName, 2);
    return TRUE;
}
def GridLoadEnableCallback_3D()
{
    return ["x:", "y:", "z:", ""];
}

id-1216008