Hello,
I'm using scripting to import external pressure into ANSYS Mechanical. However, I'm having trouble finding the correct syntax to change two specific options that are available in the Mechanical GUI but not recorded via the script recorder:
How can I change the "Loaded Area" option from Initial Geometry to Deformed Geometry via scripting?
How can I change the "Tabular Loading" option from Program Controlled to Ramped?
Last year, I received some help in this forum because the script recording function doesn’t capture all settings. I'm currently using ANSYS 2023 R1.
Any guidance or example code would be very much appreciated!
Thanks in advance. 
current code:
importedPres = usedimportedloadobj.AddImportedPressure()
DefineByProp = importedPres.PropertyByName('PROPID_DefineByType')
DefineByProp.InternalValue = 0 # 0="Components", 2="Normal To"
importedPres.PropertyByName('ExternalLoadAppliedBy').InternalValue = 1 # 0='SurfaceEffect', 1='direct'
