Skip to content

capture trouble #58

Description

@pterusgithub

Hello,

I've some problem with the capture attribute node in blender 4.2

here the error:

Python: Traceback (most recent call last):
  File "file.py", line 182, in <module>
  File "/pathto/.config/blender/4.2/scripts/addons/geometry-script-main/api/tree.py", line 136, in build_tree
    outputs = builder(**builder_inputs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "file.py", line 186, in attributs
AttributeError: type object 'CaptureAttribute' has no attribute 'DataType'

with the line code:

capture_attribute(data_type=CaptureAttribute.DataType.FLOAT_VECTOR, domain=CaptureAttribute.Domain.POINT, geometry=c,value=position())

Would it be possible to have an updated example of use of this node?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions