Solidworks is not used for the design of lenses or optics. To design a lens, ray tracing is necessary, programs like Zemax are used by optical engineers to design the shapes of lenses, reflectors and light pipes to control photons.