Error Handling
Error Handling
try:
results = extractor.extract_linked_statistics(sim_file, config)
except OrcFxAPI.OrcaFlexError as e:
print(f"OrcaFlex error: {e}")
print("Check object names and variable specifications")
except FileNotFoundError:
print("Simulation file not found")