I am sorry to hear about your medical problems. No, iloinguinal nerve is not cut during an orchiectomy. It can get injured during the operation.
The pain you are suffering could be due to Pudendal nerve entrapment (PNE). Treatment includes physical therapy, medications, steroid injections into the Aclock canal, pulsed radiofrequency, and decompression surgery. Use of ergonomic devices for sitting that remove the pressure off the nerve can be used.
Please consult your doctor regarding this. Take care!
The medical advice given should not be considered a substitute for medical care provided by a doctor who can examine you. The advice may not be completely correct for you as the doctor cannot examine you and does not know your complete medical history. Hence this reply to your post should only be considered as a guiding line and you must consult your doctor at the earliest for your medical problem.