-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathICpsConfig.cs
More file actions
22 lines (20 loc) · 681 Bytes
/
ICpsConfig.cs
File metadata and controls
22 lines (20 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System.Collections.Generic;
namespace CADRuntime
{
public interface ICpsConfig
{
/// <summary>
/// Returns a list of string variables that the Runtime will add to
/// the scripts scope under "__vars__".
///
/// In CADPythonShell, these are read from the CADPythonShell.xml file.
/// </summary>
IDictionary<string, string> GetVariables();
/// <summary>
/// Returns a list of paths to add to the python engine search paths.
///
/// In CADPythonShell, these are read from the CADPythonShell.xml file.
/// </summary>
IEnumerable<string> GetSearchPaths();
}
}