Kyle
Ansys Employee

No, you can't edit the code of the elements themselves. However, you can create your own scripted elements, though this is a very advanced feature and tends to take a lot of work. The documentation on scripted elements can be found here: Scripted Element - Element Library – Ansys Optics