EngineController

A controller to coordinate the interactions between some DesignScript sub components like library managment, live runner and so on.


Constructors

No public constructors defined

Methods

IEnumerable<FunctionGroup>   GetFunctionGroups( ) stability index:1
Return Value: none
Return all function groups.
void   ImportLibrary(String library) stability index:1
Return Value: none
Import library.
library
RuntimeMirror   GetMirror(String variableName) stability index:1
Return Value: none
Get runtime mirror for variable.
variableName
List<IGraphicItem>   GetGraphicItems(String variableName) stability index:1
Return Value: none
Get a list of IGraphicItem of variable if it is a geometry object; otherwise returns null.
variableName
void   UpdateGraphImmediate(GraphSyncData graphSyncData) stability index:1
Return Value: none
This method is called by UpdateGraphAsyncTask in the context of ISchedulerThread to kick start an update through LiveRunner.
graphSyncData
The GraphSyncData that was generated by a prior call to ComputeSyncData at the time UpdateGraphAsyncTask was scheduled.
void   NodeDeleted(NodeModel node) stability index:1
Return Value: none
NodeDeleted event handler.
node

Properties

Core   LiveRunnerCore {get;} stability index:1
Get DesignScript core.
RuntimeCore   LiveRunnerRuntimeCore {get;} stability index:1
Get DesignScript runtime core.
LibraryServices   LibraryServices {get;} stability index:1
Return libary service instance.
Boolean   IsDisposed {get;set;} stability index:1
A property defining whether the EngineController has been disposed or not. This is a conservative field, as there should only be one owner of a valid EngineController or not.
Boolean   HasPendingGraphSyncData {get;} stability index:1
Return true if there are graph sync data in the queue waiting for being executed.
Return Value:

Events

No public events defined