geometry-script icon indicating copy to clipboard operation
geometry-script copied to clipboard

capture trouble

Open pterusgithub opened this issue 1 year ago • 1 comments
trafficstars

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

pterusgithub avatar Oct 09 '24 09:10 pterusgithub