Information about the objects (names, etc.) are in the Alembic file, so without accessing that directly, you probably aren’t going to be able to do what you’re after. Unless the reader plugin is explicitly adding a new AttribContext to each GeoInfo (object) it creates in Nuke and setting it using the information from the Alembic file, that information won’t get translated into Nuke’s 3D system.
Also, I’m assuming you’re using Ivan’s ABCReadGeo node... I’m not sure whether AtomKraft is already doing this additional attribute legwork (I would be inclined to guess no), but I’m sure someone will speak up if this is not the case. -Nathan From: Florian Strobl Sent: Monday, August 13, 2012 2:02 PM To: Nuke Python discussion Subject: Re: [Nuke-python] getting list of objects out of abc file Basically what I was trying to get are the names of the objects and than associate the primitives that belong to it. On Aug 13, 2012 1:49 PM, "Nathan Rusch" <[email protected]> wrote: A GeometryList behaves like a standard Python list... what exactly are you trying to get/do? -Nathan From: John RA Benson Sent: Monday, August 13, 2012 12:08 PM To: Nuke Python discussion Subject: Re: [Nuke-python] getting list of objects out of abc file i haven't had experience with your particulars, but whenever I feel my fu is exhausted, I use tab completion in the script editor - geoListObj = k.getGeometry() geoListObj.<tab> <scroll through functions till you find something useful> awesome feature jrab On Aug 13, 2012, at 8:02 PM, Florian Strobl wrote: anybody? Florian Strobl On Wed, Aug 8, 2012 at 4:14 PM, Florian Strobl <[email protected]> wrote: Hi, I'm trying to get a list of all primitive objects out a alembic reader. there is a _nuke.GeoSelect_Knob object that is basically the geo_select knob and that would give me the option of k.getGeometry() # Result: <_geo.GeometryList object at 0x3c1f5d0> however my fu stops here any solutions suggestions would be great thanks Florian Strobl _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python ------------------------------------------------------------------------------ _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python -------------------------------------------------------------------------------- _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
