The lattice geometry of natural materials and the structural geometry of artificial materials are crucial factors determining their physical properties. Most materials have predetermined geometries that lead to fixed physical characteristics. Here, the demonstration of a carbon nanotube network serves as an example of a system with controllable orientation achieving on-demand optical properties. Such a network allows programming their optical response depending on the orientation of the constituent carbon nanotubes and leads to the switching of its dielectric tensor from isotropic to anisotropic. Furthermore, it also allows for the achievement of wavelength-dispersion for their principal optical axes - a recently discovered phenomenon in van der Waals triclinic crystals. The results originate from two unique carbon nanotubes features: uniaxial anisotropy from the well-defined cylindrical geometry and the intersection interaction among individual carbon nanotubes. The findings demonstrate that shaping the relative orientations of carbon nanotubes or other quasi-one-dimensional materials of cylindrical symmetry within a network paves the way to a universal method for the creation of systems with desired optical properties.