Node Attribute Statistic#

from geonodes import nodes

node = nodes.AttributeStatistic(geometry=None, selection=None, attribute=None, data_type='FLOAT', domain='POINT')

Blender Image

Args:#

Input socket arguments:#

Node parameter arguments:#

  • data_type (str): default = ‘FLOAT’ in (‘FLOAT’, ‘FLOAT_VECTOR’)

  • domain (str): default = ‘POINT’ in (‘POINT’, ‘EDGE’, ‘FACE’, ‘CORNER’, ‘CURVE’, ‘INSTANCE’)

Output sockets:#

  • mean : data_type dependant

  • median : data_type dependant

  • sum : data_type dependant

  • min : data_type dependant

  • max : data_type dependant

  • range : data_type dependant

  • standard_deviation : data_type dependant

  • variance : data_type dependant

Shared sockets:#

  • Driving parameter : data_type in (‘FLOAT’, ‘FLOAT_VECTOR’)

  • Input sockets : [‘attribute’]

  • Output sockets : [‘mean’, ‘median’, ‘sum’, ‘min’, ‘max’, ‘range’, ‘standard_deviation’, ‘variance’]

Implementation#

Class or method name

Definition

Domain

attribute_statistic

def attribute_statistic(self, attribute=None):

attribute_mean

def attribute_mean(self, attribute=None):

attribute_median

def attribute_median(self, attribute=None):

attribute_sum

def attribute_sum(self, attribute=None):

attribute_min

def attribute_min(self, attribute=None):

attribute_max

def attribute_max(self, attribute=None):

attribute_range

def attribute_range(self, attribute=None):

attribute_std

def attribute_std(self, attribute=None):

attribute_var

def attribute_var(self, attribute=None):

Geometry

attribute_statistic

def attribute_statistic(self, selection=None, attribute=None, domain='POINT'):

Go to top - main - nodes - nodes menus