namespacewriter

class simframe.io.writers.namespacewriter(*args, **kwargs)[source]

Bases: simframe.io.writer.Writer

Class to write Frame object to namespace

Attributes
datadir

Data directory of output files.

description

Description of Writer.

dumping

If True dump files will be written.

extension

Filename extension of output files.

filename

Base filename of output files.

options

Dictionary of keyword arguments passed to customized writing routine.

overwrite

If True existing output files will be overwritten.

read

Reader object for reading output files.

verbosity

Verbosity of the writer.

zfill

Zero padding of numbered files names.

Methods

Methods Summary

reset()

This resets the namespace.

write(owner[, i])

Writes output to namespace

Methods Documentation

reset()[source]

This resets the namespace.

Notes

WARNING: This cannot be undone.

write(owner, i=0, *args, **kwargs)[source]

Writes output to namespace

Parameters
  • owner (Frame) – Parent frame object

  • i (int) – Not used in this class

  • forceoverwrite (boolean) – Not used in this class

  • filename (string) – Not used in this class