ResultProjectedGrid – Exporting a projected grid as geometry
The following script sample shows you an example on how to export a Projected Grid as geometry.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
interactiveSimulation = SpeosSim.SimulationInteractive.Find("Interactive.1")
interactiveSimulation.Compute()
results = interactiveSimulation.GetResultFilePaths()
for resultFile in results:
if (resultFile.ToString().EndsWith("OPTProjectedGrid")):
file = Path.GetFileName(resultFile)
projectedGridResult = SpeosSim.ResultProjectedGrid.Find(file)
projectedGridResult.ExportProjectedGridAsGeometry()
Was this page helpful?