Method EnsureBuiltIns
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
EnsureBuiltIns(string)
Makes the folder where it is missing and writes the tables the presenter makes that it lacks, never one it has: a table the user edited is kept. The window calls it as it starts and after Global settings change the folder.
public static IReadOnlyList<string> EnsureBuiltIns(string folder)
Parameters
folderstringThe folder.
Returns
- IReadOnlyList<string>
The names of the files written, in the order of BuiltInNames; empty where the folder has them all or cannot be written to (said in the log).
Exceptions
- ArgumentException
Thrown when the folder is empty.