[Sidefx-houdini-list] Getting node from object ID with python

Pablo Giménez pablogipi at gmail.com
Wed Mar 26 14:50:15 EDT 2014


Should be, at least hou.Node.sessionId() and opid() returns the same value.


2014-03-26 17:00 GMT+00:00 Frederic Servant <frederic.servant at gmail.com>:

> Is that the same opid you get when dropping a shader on the render view or
> Crtl-clicking it?
> --
> Fred
>
>
> On Wed, Mar 26, 2014 at 4:40 PM, Pablo Giménez <pablogipi at gmail.com>
> wrote:
>
> > Thanks Graham, that's perfect!
> >
> >
> > 2014-03-26 16:14 GMT+00:00 Graham Thompson <captainhammy at gmail.com>:
> >
> > > http://www.sidefx.com/docs/houdini13.0/hom/hou/nodeBySessionId
> > >
> > >
> > > On Mon, Mar 17, 2014 at 4:17 AM, Pablo Giménez <pablogipi at gmail.com>
> > > wrote:
> > >
> > > > Hello.
> > > > It is possible to get a node id using opid in hscript or
> > > > hou.Node.sessionId() in python.
> > > > My question is if there is an easy way to return a node object in
> > python
> > > > knowing the object id.
> > > > Something like hou.node() but using node's id rather than the node
> > > > name/path.
> > > > Thanks.
> > > >
> > > > --
> > > > Un saludo
> > > > Best Regards
> > > > Pablo Giménez
> > > > _______________________________________________
> > > > Sidefx-houdini-list mailing list
> > > > Sidefx-houdini-list at sidefx.com
> > > > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> > > >
> > > _______________________________________________
> > > Sidefx-houdini-list mailing list
> > > Sidefx-houdini-list at sidefx.com
> > > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> > >
> >
> >
> >
> > --
> > Un saludo
> > Best Regards
> > Pablo Giménez
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> >
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



-- 
Un saludo
Best Regards
Pablo Giménez



More information about the Sidefx-houdini-list mailing list