load_phf¶
- photonforge.load_phf(filename, only_explicit=True, set_config=True)¶
Load the contents of a phf file.
- Parameters:
filename – File path to load.
only_explicit – If set, only explicitly-saved objects are returned (excludes automatically included dependencies).
set_config – If
True, setconfig.gridandconfig.tolerancewith values loaded from the file.
- Returns:
Dictionary with keys
"components"and"technologies", each holding a list of loaded objects.
See also