Thanks I think its becoming clearer:) So in my example this part of the code:
pm.ls(type='camera')[0] is an instance of a class and that class contains the "getParent" and "getTranslation" methods, which means that the instance has access to those methods. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/360d4fa5-26f7-4b76-9421-3fd098038a80%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.