On 30/08/11 11:39, Rob Healey wrote:
Greetings:

If I add, family.get_media_list, in NarrativeWeb, I get a list of media refebces...

How can I get the same result, but for the report.database instead...

for instance something like, db.get_medaia_ref_list()???

To get all media objects in the database use:

db.get_media_object_handles()

If you want to find all media reference objects then try looping through people, familes, events, sources and places.  Then you can call obj.get_media_list() for each object.

Nick.



Can someone help me???

--
Sincerely yours,
Rob G. Healey

"Always surround yourself with people that inspire you to
greatness!"

------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________ Gramps-devel mailing list Gramps-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gramps-devel