carson-katri / carson-katri/geometry-script

capture trouble

Open
#58 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
339
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hello,

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

here the error:
```shell
Python: Traceback (most recent call last):
File "file.py", line 182, in
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:
```python
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.