| Reference | Downloads | Github

Way to convert coder into builder format?

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): MacOS High Sierra 10.9
PsychoPy version (e.g. 1.84.x): 1.90.3 PsychoPy 2
Standard Standalone? (y/n) If not then what?: Yes
What are you trying to achieve?:
After having the experiment setup with builder, I added custom lines of code using the coder. Now, I want to have the updated experiment from coder reflected on the builder interface.

What did you try to make it work?:
The compile button in the builder interface is only a one way direction? (builder to coder). I was wondering if I was missing something so that I can make my coder stuff applied to the builder.

1 Like

Yes. There is no way that we can mechanically translate the arbitrary code you have written or modified to get back to a graphical representation.

Almost certainly the solution to this sort of problem is not to edit the generated code in the first place, but to use code components within Builder. That way you get the flexibility of inserting code, but Builder neatly controls where it is inserted, so you retain the graphical interface.

I see. Actually that makes sense. Having those arbitrary codes from coder would be hard to be replicated into the builder. Thanks!!