Skip to main content

utility:data sources get attribute

Version: 0.0.0

Description

A DataSources in pin 0 and a property name (string) in pin 1 are expected in input. An index refering to the property can also be provided.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
data_sourcesdata_sources
Pin 1
Required
property_namestringAccepted inputs are: 'file_path' (returns string), 'result_file_name' (returns string), 'domain_file_path' (returns string), 'domain_result_file_name' (returns string), 'num_keys' (returns int), num_result_key (returns int), num_file_path (returns int), 'num_result_file_path' (returns int), 'key_by_index' (returns string), 'result_key_by_index' (returns string), 'path_by_index' (returns string), 'path_key_by_index' (returns string).
Pin 2property_indexint32Index for the property. Must be set for 'domain_file_path', 'domain_result_file_name' 'key_by_index', 'result_key_by_index', 'path_by_index' and 'path_key_by_index' properties.
Pin 3property_keystringKey to look for. Must be set for 'file_path' and 'domain_file_path' properties.
Pin 4property_result_keystringResult key to look for. Can be used for 'file_path', 'result_file_name', 'domain_file_path' and 'domain_result_file_name'.

Outputs

OutputNameExpected type(s)Description
Pin 0propertystring, int32Property value.

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: utility

Plugin: core

Scripting name: ds_get_attribute

Full name: utility.ds_get_attribute

Internal name: datasources::get_attribute

License: None

Changelog

  • Version 0.0.0: Initial release.