TACTIC Open Source
Accesing a Grandparent .name - Printable Version

+- TACTIC Open Source (http://forum.southpawtech.com)
+-- Forum: TACTIC Open Source (http://forum.southpawtech.com/forumdisplay.php?fid=3)
+--- Forum: TACTIC Discussion (http://forum.southpawtech.com/forumdisplay.php?fid=4)
+--- Thread: Accesing a Grandparent .name (/showthread.php?tid=180)



Accesing a Grandparent .name - Nachogor - 11-13-2020

Hi guys!

If I´m at shot level I use @GET(LaSP/secuencias.name) to get the sequence name, and if I´m at secuencias level I use @GET(LaSP/episodios.name) to get Episode´s name.
If I need to access episodes from shot´s stype in a column with a expression. What's the correct way of doing it? I´m failing and it must be something simple I´m missing.

Thanks a lot!
Nacho


RE: Accesing a Grandparent .name - listy - 11-13-2020

Hi!
If there is parent > child relationship exists it will look like:
@SOBJECT(LaSP/episodios.LaSP/secuencias.name)

This will give you all sequences names for all your episodes.

Or if you want all shots of particular episode:
@SOBJECT(LaSP/episodios['name', 'EP_NAME'].LaSP/secuencias.name)


RE: Accesing a Grandparent .name - Nachogor - 11-13-2020

THANKS SO MUCH!!!!!! Already working!