protected override void SetScriptTransientGlobals()
        {
            base.SetScriptTransientGlobals();

            _py.ScriptContextDoc = _document;
            _marshal             = new NewComponentIOMarshal(_document, this);
            _py.SetVariable(DOCUMENT_NAME, _document);
            _py.SetIntellisenseVariable(DOCUMENT_NAME, _document);
        }
예제 #2
0
        protected override void SetScriptTransientGlobals()
        {
            base.SetScriptTransientGlobals();

              m_py.ScriptContextDoc = m_document;
              m_marshal = new NewComponentIOMarshal(m_document, this);
              m_py.SetVariable(DOCUMENT_NAME, m_document);
              m_py.SetIntellisenseVariable(DOCUMENT_NAME, m_document);
        }