Skip to documentation content
On this page
  1. Reference contract
  2. Contract
  3. Signature
  4. Authoritative source

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

FieldValueDescription
symboltelion_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]'
returnlist[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

PropertyValue
symboltelion_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]'
returnlist[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]'

Authoritative source

Catalog
python:telion_api.__all__
Identity
telion_api.Circuit.import_spice
Path
sdk/python/telion_api/model.py
Symbol
telion_api.Circuit.import_spice