ObjectNameList

ObjectNameList(objects=None, sort=False)

Returns a list of all the Names for the objects :param objects: If omitted, the list of all the layers :param sort: Sort the list if True.

returns:List of Names and a dictionary of all objects with name as key