model.block_model
Import and export block-model CSV data.
3 functions / 4 types
Index
| Function | Description |
|---|---|
| ExportCsvString | Export a block model in the model store to a CSV string. |
| ImportCsv | Load a block model from a CSV. |
| ImportCsvString | Load a block model from an inline CSV string into the model store. |
| Type | Description |
|---|---|
| ExportCsvString | Export a block model in the model store to a CSV string. |
| ExportCsvStringResponse | |
| ImportCsv | Load a block model from a CSV. |
| ImportCsvString | Load a block model from an inline CSV string into the model store. |
ExportCsvString
RPC
ExportCsvString(request: model.block_model.ExportCsvString) -> model.block_model.ExportCsvStringResponseExport a block model in the model store to a CSV string.
Service method: spatialengine.v1.model.block_model.ModelBlockModel.ExportCsvString.
Returns model.block_model.ExportCsvStringResponse.
model : RemoteHandle
Guid of the block model to export (hyphenated UUID string).
ImportCsv
RPC
ImportCsv(request: model.block_model.ImportCsv) -> RemoteHandleLoad a block model from a CSV.
Service method: spatialengine.v1.model.block_model.ModelBlockModel.ImportCsv.
Returns RemoteHandle.
path : string
Path to the CSV
header_config : model.csv.HeaderConfigMap
Import configuration for each CSV column, keyed by the column’s header name.
ImportCsvString
RPC
ImportCsvString(request: model.block_model.ImportCsvString) -> RemoteHandleLoad a block model from an inline CSV string into the model store.
Service method: spatialengine.v1.model.block_model.ModelBlockModel.ImportCsvString.
Returns RemoteHandle.
csv : string
CSV content (header row plus one row per block).
header_config : model.csv.HeaderConfigMap
Import configuration for each CSV column, keyed by the column’s header name.
ExportCsvString
Message
Export a block model in the model store to a CSV string.
model : RemoteHandle
Guid of the block model to export (hyphenated UUID string).
ExportCsvStringResponse
Message
value optional : string
ImportCsv
Message
Load a block model from a CSV.
path : string
Path to the CSV
header_config : model.csv.HeaderConfigMap
Import configuration for each CSV column, keyed by the column’s header name.
ImportCsvString
Message
Load a block model from an inline CSV string into the model store.
csv : string
CSV content (header row plus one row per block).
header_config : model.csv.HeaderConfigMap
Import configuration for each CSV column, keyed by the column’s header name.