<div dir="ltr">A few days ago I expressed my interest toward the Encapsulation Ergonomics idea for Purr Data. I have been doing some research and I have several questions related to the idea:<div><br>What kind of behavior is expected for the automatic creation of inlets and outlets: create automatically the inlets and outlets when you paste a selection of objects anywhere, the same but only when you paste them inside a subpatch or adding a menu option/keyboard shortcut to automatically create a subpatch that encapsulates the current selection of objects and creates the inlets and outlets too? </div><div>And what inlets and outlets must be created? The ones connected to some objects outside the current selection or all the free sockets of the selected objects?</div><div><br>And related to the abstractions:</div><div>If I understood it correctly the goal is to be able to store abstractions inside a patch file instead of in a separated .pd file. The abstraction will behave like a subpatch with the diffetrence that if you have multiple objects of that type, all of them will be internally the same and if you change the abstraction all objects of that kind will change too. Another interpretation would be to be able to automatically create an abstraction from a selection of objects and save it in a separated .pd file in the same directory as the current patch and then create an object with the same name (except the .pd) inside the patch.</div><div><br>I look forward for your response. Thank you!<br><div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="2" face="arial, helvetica, sans-serif">Guillem Bartrina Moreno</font></div></div></div></div></div></div></div></div></div></div>