Skip to content

model.pointCloud

Import and export point-cloud CSV data.

3 functions / 0 types

Index

FunctionDescription
exportCsvStringExport a point cloud in the model store to a CSV string.
importCsvLoad a point cloud from a CSV.
importCsvStringLoad a point cloud from an inline CSV string into the model store.

exportCsvString

exportCsvString(args: { model: RemoteHandle }, transactionId?: string): Promise<string>

Export a point cloud in the model store to a CSV string.

Returns Promise<string>.

model : RemoteHandle

Guid of the point cloud to export (hyphenated UUID string).

transactionId optional : string

importCsv

importCsv(args: { headerConfig: ModelCsvHeaderConfigMap; path: string }, transactionId?: string): Promise<RemoteHandle>

Load a point cloud from a CSV.

Returns: An opaque reference to stored blob data.

Returns Promise<RemoteHandle>.

headerConfig : ModelCsvHeaderConfigMap

Import configuration for each CSV column, keyed by the column’s header name.

path : string

Path to the CSV

transactionId optional : string

importCsvString

importCsvString(args: { csv: string; headerConfig: ModelCsvHeaderConfigMap }, transactionId?: string): Promise<RemoteHandle>

Load a point cloud from an inline CSV string into the model store.

Returns: An opaque reference to stored blob data.

Returns Promise<RemoteHandle>.

csv : string

CSV content (header row plus one row per point).

headerConfig : ModelCsvHeaderConfigMap

Import configuration for each CSV column, keyed by the column’s header name.

transactionId optional : string