import_spice
Import a lossless SPICE deck into the editable circuit graph. Only cards with an exact Telion-native interpretation become native components. Simulator models, waveforms, subcircuits and vendor cards require an explicit ``allow_external=True`` opt-in and remain external provider components; they are never replaced with convenient defaults. ``first_line_is_title`` resolves the otherwise unavoidable ambiguity between standard SPICE decks and historical bare-card fragments.
Reference contract
| Field | Value | Description |
|---|---|---|
| symbol | telion_api.Circuit.import_spice | — |
| signature | (netlist: 'str', *, clear: 'bool' = False, dialect: 'str' = 'generic', source_name: 'str' = '<telion-sdk>', allow_external: 'bool' = False, first_line_is_title: 'bool | None' = None) -> 'list[ComponentRef]' | — |
| return | list[ComponentRef] | — |
Import a lossless SPICE deck into the editable circuit graph. Only cards with an exact Telion-native interpretation become native components. Simulator models, waveforms, subcircuits and vendor cards require an explicit allow_external=True opt-in and remain external provider components; they are never replaced with convenient defaults. first_line_is_title resolves the otherwise unavoidable ambiguity between standard SPICE decks and historical bare-card fragments.
Contract
| Property | Value |
|---|---|
| symbol | telion_api.Circuit.import_spice |
| signature | (netlist: 'str', *, clear: 'bool' = False, dialect: 'str' = 'generic', source_name: 'str' = '<telion-sdk>', allow_external: 'bool' = False, first_line_is_title: 'bool | None' = None) -> 'list[ComponentRef]' |
| return | list[ComponentRef] |
Signature
telion_api.Circuit.import_spice(netlist: 'str', *, clear: 'bool' = False, dialect: 'str' = 'generic', source_name: 'str' = '<telion-sdk>', allow_external: 'bool' = False, first_line_is_title: 'bool | None' = None) -> 'list[ComponentRef]'