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

Distribute qL SOP issue #451

Closed
johnnyquest opened this issue Jul 5, 2016 · 4 comments
Closed

Distribute qL SOP issue #451

johnnyquest opened this issue Jul 5, 2016 · 4 comments

Comments

@johnnyquest
Copy link
Contributor

johnnyquest commented Jul 5, 2016

check this --

https://groups.google.com/forum/#!topic/qlib/8mbEYa_FF3w

  • doesn't work in H15, either
  • also, make sure the loop "variable" in the ForEach is unique
@johnnyquest johnnyquest changed the title Distribute qL SOP issue? Distribute qL SOP issue Jul 5, 2016
@johnnyquest
Copy link
Contributor Author

to fix: go to foreach_iteration/vopsop_distribute/snippet1 and type P in Bindings to Export

@flipswitchingmonkey
Copy link

flipswitchingmonkey commented Jul 18, 2016

Also check whether you need to remove the @ from the P variable. Writing back to @p does not seem to work or at least gives a different result from writing to P after it was added to the Bindings to Export.

Forget it, @p is correct. P only runs the iteration once. (or rather, does not write it back into the Geo for the next iteration, probably)

@johnnyquest
Copy link
Contributor Author

ahhhhh okay, thanks for checking it out. although using P (then connecting the snippet's outP to the global output P) should also work the exact same way.

@johnnyquest
Copy link
Contributor Author

Ok, I'm fixing it by connecting snippet1's outP to the output globals P. Seems to work. Also addressed the unique-ifying of the loop variable in the inner foreach loop.

johnnyquest added a commit that referenced this issue Jul 24, 2016
- Distribute qL SOP fixed to work with H15+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants