Node Capture Attribute#

from geonodes import nodes

node = nodes.CaptureAttribute(geometry=None, value=None, data_type='FLOAT', domain='POINT')

Blender Image

Args:#

Input socket arguments:#

  • geometry: Geometry

  • value: data_type dependant

Node parameter arguments:#

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

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

Output sockets:#

  • geometry : Geometry

  • attribute : data_type dependant

Shared sockets:#

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

  • Input sockets : [‘value’]

  • Output sockets : [‘attribute’]

Implementation#

Class or method name

Definition

Domain

capture_attribute

def capture_attribute(self, value=None):

Geometry

capture_attribute

def capture_attribute(self, value=None, domain='POINT'):

capture_attribute_node

@staticmethod
def capture_attribute_node(geometry=None, value=None, data_type='FLOAT', domain='POINT'):

Go to top - main - nodes - nodes menus