C# Class CyPhy2CAD_CSharp.CyPhy2CAD_CSharpInterpreter

显示文件 Open project: metamorph-inc/meta-core

Protected Properties

Property Type Description
interactiveMode bool

Private Properties

Property Type Description
CallComponentExporter bool
Convert ComponentStartMode
Elaborate bool
FetchSettings void
GMERegister void
GMEUnRegister void
Main bool
SaveSettings void
SaveSettings void

Public Methods

Method Description
CyPhy2CAD_CSharpInterpreter ( ) : System
DoGUIConfiguration ( IInterpreterPreConfiguration preConfig, IInterpreterConfiguration previousConfig ) : IInterpreterConfiguration
Enable ( bool newval ) : void
Initialize ( MgaProject project ) : void

This function is called for each interpreter invocation before Main. Don't perform MGA operations here unless you open a tansaction.

Invoke ( MgaProject Project, MgaFCOs selectedobjs, int param ) : void
InvokeEx ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
Main ( IInterpreterMainParameters parameters ) : IInterpreterResult
ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
PreConfig ( IPreConfigParameters parameters ) : IInterpreterPreConfiguration
get_ComponentParameter ( string Name ) : object
set_ComponentParameter ( string Name, object pVal ) : void

Private Methods

Method Description
CallComponentExporter ( MgaProject project, MgaFCO currentobj ) : bool
Convert ( int param ) : ComponentStartMode
Elaborate ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : bool
FetchSettings ( ) : void
GMERegister ( Type t ) : void
GMEUnRegister ( Type t ) : void
Main ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, ComponentStartMode startMode ) : bool
SaveSettings ( ) : void
SaveSettings ( string projectDirectory ) : void

Method Details

CyPhy2CAD_CSharpInterpreter() public method

public CyPhy2CAD_CSharpInterpreter ( ) : System
return System

DoGUIConfiguration() public method

public DoGUIConfiguration ( IInterpreterPreConfiguration preConfig, IInterpreterConfiguration previousConfig ) : IInterpreterConfiguration
preConfig IInterpreterPreConfiguration
previousConfig IInterpreterConfiguration
return IInterpreterConfiguration

Enable() public method

public Enable ( bool newval ) : void
newval bool
return void

Initialize() public method

This function is called for each interpreter invocation before Main. Don't perform MGA operations here unless you open a tansaction.
public Initialize ( MgaProject project ) : void
project MgaProject The handle of the project opened in GME, for which the interpreter was called.
return void

Invoke() public method

public Invoke ( MgaProject Project, MgaFCOs selectedobjs, int param ) : void
Project MgaProject
selectedobjs MgaFCOs
param int
return void

InvokeEx() public method

public InvokeEx ( MgaProject project, MgaFCO currentobj, MgaFCOs selectedobjs, int param ) : void
project MgaProject
currentobj MgaFCO
selectedobjs MgaFCOs
param int
return void

Main() public method

public Main ( IInterpreterMainParameters parameters ) : IInterpreterResult
parameters IInterpreterMainParameters
return IInterpreterResult

ObjectsInvokeEx() public method

public ObjectsInvokeEx ( MgaProject Project, MgaObject currentobj, MgaObjects selectedobjs, int param ) : void
Project MgaProject
currentobj MgaObject
selectedobjs MgaObjects
param int
return void

PreConfig() public method

public PreConfig ( IPreConfigParameters parameters ) : IInterpreterPreConfiguration
parameters IPreConfigParameters
return IInterpreterPreConfiguration

get_ComponentParameter() public method

public get_ComponentParameter ( string Name ) : object
Name string
return object

set_ComponentParameter() public method

public set_ComponentParameter ( string Name, object pVal ) : void
Name string
pVal object
return void

Property Details

interactiveMode protected_oe property

protected bool interactiveMode
return bool