コード例 #1
0
        private void ExecutionEvents_GraphPreExecution(Dynamo.Session.IExecutionSession session)
        {
            //session.

            if (InPorts[0].Connectors.Any())
            {
                // this.GetValue()
                // get parent
                // MessageBox.Show("There is an input! " + InPorts[0].Owner.GetValue(;
                //return new[] { AstFactory.BuildAssignment(GetAstIdentifierForOutputIndex(0), AstFactory.BuildNullNode()) };
            }
        }
コード例 #2
0
 private static void ExecutionEvents_GraphPostExecution(Dynamo.Session.IExecutionSession IExecutionSession)
 {
     //Dynamo.Events.ExecutionEvents.GraphPostExecution -= ExecutionEvents_GraphPostExecution;
     if (pH72NodeListCollector != null)
     {
         pH72NodeListCollector.RemoveAll(x => !x.Item1);
         foreach (Tuple <bool, string, H72Node> aTuple in pH72NodeListCollector)
         {
             aTuple.Item3.Save(aTuple.Item2);
         }
         pH72NodeListCollector = null;
     }
 }
コード例 #3
0
ファイル: SerializationTests.cs プロジェクト: yyrjl/Dynamo
 private void ExecutionEvents_GraphPostExecution(Dynamo.Session.IExecutionSession session)
 {
     lastExecutionDuration = (TimeSpan)session.GetParameterValue(Dynamo.Session.ParameterKeys.LastExecutionDuration);
 }
コード例 #4
0
 private void ExecutionEvents_GraphPostExecution(Dynamo.Session.IExecutionSession IExecutionSession)
 {
     Dynamo.Events.ExecutionEvents.GraphPostExecution -= ExecutionEvents_GraphPostExecution;
     Release();
 }
コード例 #5
0
 private void ExecutionEvents_GraphPostExecution(Dynamo.Session.IExecutionSession session)
 {
     Executions++;
     this.OnNodeModified(forceExecute: true);
 }
コード例 #6
0
 private void ExecutionEvents_GraphPreExecution(Dynamo.Session.IExecutionSession session)
 {
     Number++;
 }
コード例 #7
0
 private void ExecutionEvents_GraphPostExecution(Dynamo.Session.IExecutionSession session)
 {
     //index++;
     //text += index.ToString();
 }
コード例 #8
0
        private void ExecutionEvents_GraphPreExecution(Dynamo.Session.IExecutionSession session)
        {
            var guid = GUID.ToString().Substring(0, 5);

            MessageBox.Show("Pre execution event of node " + guid + ".");
        }