Configuration
Overview
VerticalMeasurementConfiguration
public struct VerticalMeasurementConfiguration {
let type: UtilityMeasurementType // .pole or .midspan
let accuracy: MeasurementAccuracy // .standardAccuracy or .highAccuracy
let inventoryClasses: [InventoryClass]? // Selectable options for pole attachments
let wireClasses: [InventoryClass]? // Selectable options for wires
let guyWireOptions: [InventoryClass]? // Selectable options for guy attachment options
let ownerOptions: [String]? // Selectable options for equipment owner
let shouldCaptureAttachments: Bool? // Allow user to select attachments in the field
}Basic Configuration
// Basic pole measurement with default settings
let basicConfig = VerticalMeasurementConfiguration(
type: .pole,
accuracy: .standardAccuracy,
inventoryClasses: nil,
wireClasses: nil,
guyWireOptions: nil,
ownerOptions: nil,
shouldCaptureAttachments: nil // Default behavior (true)
)
let result = try await cloneable.startVerticalMeasurement(config: basicConfig)Advanced Configuration with Custom Inventory
Complete Custom Configuration
Configuration for Different Use Cases
Quick Survey Configuration
High-Accuracy Inspection Configuration
Midspan-Specific Configuration
InventoryClass Structure
Example: Complex Transformer Classification
Accuracy Settings
Standard Accuracy
High Accuracy
Configuration Validation
Best Practices
Last updated

