Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attributes synthax #2

Closed
mchaptel opened this issue Oct 29, 2019 · 1 comment
Closed

attributes synthax #2

mchaptel opened this issue Oct 29, 2019 · 1 comment

Comments

@mchaptel
Copy link
Collaborator

mchaptel commented Oct 29, 2019

res.attributes.pivot.frames[0].value = avg;

For attribute setting, I also recommend :

res.attributes.pivot.setValue(avg);
res.attributes.pivot.setValue(avg, 1);
res.pivot = avg;

NB: frame arrays starts at 1 (0 is empty) so that frame numbers and array index match

@cfourney
Copy link
Owner

This should be resolved with the new getter/setter. The res.pivot didn't work in the previous iteration of the dynamic getter/setter. The new version seems to work with this behaviour, and code has been updated to resolve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants