Add a representation to the molecule. If optional arguments are not specified, they default to whatever the previously added representation has. :param molid: Molecule ID to add represenation to :type molid: int :param style: Representation style (like ‘NewCartoon’), optional :type style: str :param color: Coloring method (like ‘ColorID 1’ or ‘Type’), optional :type color: str :param selection: Atoms to apply representation to, optional :type selection: str :param material: Material for represenation (like ‘Opaque’) :type material: str

Returns:(int) – Index of added representation