component_selector_fc class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.logic
Summary
Creates a scalar fields container based on the selected component for each field.
available inputs: fields_container (FieldsContainer, Field), component_number (Int32, IList int, System.Collections.IEnumerable)
available outputs: fields_container (FieldsContainer)
Example
op = component_selector_fc()
op = component_selector_fc(fields_container=my_fields_container,component_number=my_component_number)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.logic |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
fields_container
Type: LinkableInput
component_number
one or several component index that will be extracted from the initial field.
Type: LinkableInput
Outputs
fields_container
Type: LinkableOutput
Constructors
Constructor
component_selector_fc()
Constructor
component_selector_fc(fields_container, component_number, config)
Parameters:
fields_container(object)component_number(object)config(OperatorConfig)
Constructor
component_selector_fc(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig