早上好,
我可以提取 CSV 格式的报告并将其放在我的目录中,下面的代码如下。唯一的问题是我想在没有值格式的情况下提取它。
enter from System.IO import Path, File, StreamWriter
from Spotfire.Dxp.Application.Visuals import TablePlot
from System.IO import Path, File, StreamWriter
from Spotfire.Dxp.Application.Visuals import TablePlot
from Spotfire.Dxp.Data import DataPropertyClass
from Spotfire.Dxp.Data import DataType
from Spotfire.Dxp.Data.Export import DataWriterTypeIdentifiers
from Spotfire.Dxp.Data import DataPropertyClass
from Spotfire.Dxp.Data import DataType
from System.IO import File, Directory
from System.IO import Path, File, StreamWriter
from Spotfire.Dxp.Application.Visuals import CrossTablePlot
report1 = "C:\\export\\report1.csv"
writer = StreamWriter(report1)
Viz1.As[CrossTablePlot]().ExportText(writer)
我想选择在没有值格式的情况下提取。
预先感谢您的帮助