The Problem of Custom Plane Creation and ASCII Export Without Contour Selection

Options
Lala
Lala Member Posts: 3
First Anniversary

Question 1:
Using the following code, I cannot modify the points used to create the plane::
root.results.surfaces.plane_surface['plane_1']={}
plane_1=root.results.surfaces.plane_surface['plane_1']

plane_1.method='three-points'
plane_1.p0=[0,-0.027,18.15]
plane_1.p1=[-0.90,-0.098,18.24]
plane_1.p2=[-0.90,-0.098,18.26]
plane_1.print_state()

Question 2:
When using the command to export to ASCII format, there is no parameter for selecting contours.
root.file.export.ascii(file_name=r"E:\2023project\nncx\jsk_turbulence_analysis\results\inner_channel\test"
, surface_name_list=[plane_1.obj_name],quantities='x-velocity')