Skip to main content

AttributeParameter

Zusammenfassung

A parameter associated with a network attribute.

Diskussion

Using networkQuery.attributeParameters(attribute) returns an iterable of AttributeParameter objects. You can loop through the iterable to get the individual AttributeParameter objects.

Eigenschaften

Name Erläuterung Datentyp

name

(Schreibgeschützt)

The attribute parameter name.

String

usage

(Schreibgeschützt)

The attribute parameter usage.

AttributeParameterUsage

value

(Schreibgeschützt)

The attribute parameter value. This could be an integer, a string, a float, a boolean or none.

Object

Codebeispiel

att_parameters = self.networkQuery.attributeParameters(att)
lst = list(att_parameters)
for att_param in lst:
   print(f"lst {att_param.name},{att_param.value},{att_param.usage}")