[Sidefx-houdini-list] pasteNodesFromClipboard behavior

Lars van der Bijl com48com at gmail.com
Wed Nov 22 18:10:40 EST 2017


you should be able to pass where you want to paste too.

hou.pasteNodesFromClipboard(node)

you need to figure out where you are.  For that you might need to look
around using
hou.ui.curDesktop()

On Wed, Nov 22, 2017 at 9:07 PM, Tom Nixon <ignivomous at gmail.com> wrote:

> Hey everyone!
>
> I am trying to get pretty basic behavior from a script that uses the
> pasteNodesFromClipboard.
>
> At the moment, it appears to always paste nodes to the same location. If I
> use ctrl-v, Houdini pastes the copied nodes under the mouse.
>
> Does anyone know of a way to replicate this behavior with the HOM method?
>
> Thanks in advance!
> Tom
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>


More information about the Sidefx-houdini-list mailing list