How to generate field lines on specific points via scripting

Options

I have the coordinates of a set of points, and I would like to generate the field lines along these points. There should be one field line per point.

Using the GUI, I can do this by adding markers on the coordinates of the points and then creating a Field Line Trace Plot. From the corresponding dialogue box, one can tick Markers under Discrete Option and then select the specific markers.

With the Native API, the pertinent options are within the CreateFieldPlot() command of the Fields Reporter module. Specifically, Seeding Markers:= needs to be set to the specific markers. With PyAEDT, I found the same set of options in the FieldPlot.surfacePlotInstructionLineTraces attribute. I tried to set new values for the Seeding Markers (i.e. FieldPlot.surfacePlotInstructionLineTraces[22]=[3,1,2,3]) but running such command did not change the values within the FieldPlot.surfacePlotInstructionLineTraces attribute for me although I did not get any errors.

Any insight is much appreciated. Thanks.

Comments