GseosBlocks.EnableDataSource
Previous  Top  Next

EnableDataSource(strName, bEnable)

This function enables/disables the Python data source. If enabled all blocks sent with the bDataSource parameter set will be mutually exclusive to other data sources. If the Python data source is not enabled these blocks will be discarded. Set bEnable to True if you want to enable this data source, set it to False if you want to disable it. Make sure to generate your blocks with the bDataSource parameter set to TRUE in the send() function.

ParameterDescription     
strNameThe name of your data source. This name will be displayed in the caption bar if the data source is active.     
bEnableTrue to enable the data source, False to disable it.     

Returns
None