ScrSetNearFieldExportDataPath

For Near Field simulations, sets an export directory for Near Field data in *.and or *.nfd format.

UI Command:   Simulation > Compute Near Field. Beneath the Near Field Solver Options, area, check the box and navigate to an appropriate directory to save the exported data.
Syntax:   obj.ScrSetNearFieldExportDataPath('[User-selected directory path]')
Parameters:  

BSTR export path (output file name with complete path)

Return Value:  

BOOL:

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrSetNearFieldExportDataPath("D:/NF_export.and")

IPY Example:  

oDoc.ScrSetNearFieldExportDataPath('D:/NF_export.and')

Note:

Use before ScrRunNearFieldSimulation.