Xorn
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Functions
xorn.geda.write Namespace Reference

Writing schematic/symbol files. More...

Functions

def write
 Save a symbol or schematic file. More...
 
def write_file
 Write a symbol or schematic to a file. More...
 

Detailed Description

Writing schematic/symbol files.

Function Documentation

def xorn.geda.write.write (   rev,
  filename,
  format = None,
  write_kwds = {},
  format_kwds 
)

Save a symbol or schematic file.

See xorn.fileutils.write for a description of the keyword arguments.

Returns
None
Exceptions
xorn.geda.fileformat.UnknownFormatError
IOError,OSErrorif a filesystem error occurred
ValueErrorif an object with an unknown type is encountered

Definition at line 39 of file write.py.

def xorn.geda.write.write_file (   f,
  rev,
  format,
  kwds 
)

Write a symbol or schematic to a file.

Parameters
[in]fA file-like object to which to write
[in]revThe symbol or schematic which should be written
Returns
None
Exceptions
ValueErrorif format is not a valid file format
ValueErrorif an object with an unknown type is encountered

Definition at line 58 of file write.py.