Khashayar Ghaffari
Ansys Employee
Hi,

Thank you for your question. It is often helpful to use the ?get; or ?set; commands in the Script Prompt after selecting an object; this allows you to see the list of available variables and the exact name that should be used.

Here by clicking on the doping object and using the ?set; command you will find that the variable of interest is addressed by the name “junction width”. For example:
set(“junction width,0.4e-6);
Best regards