Esempio n. 1
0
        public void Terminate()
        {
            //disconnect change processor
            if (m_changeProcessor != null)
            {
                m_changeProcessor.Disconnect();

                m_changeProcessor = null;
            }
        }
Esempio n. 2
0
        //initial the changeProcessor
        public void Execute(Application application, object changeDefinition, Inventor._Document document)
        {
            //create instance of ChangeProcessor class
            m_changeProcessor = new ValveBlockDesign.ChangeProcessor();

            //set the parent to get the call back when change processor terminates
            m_changeProcessor.SetParentRequest(this);

            //connet change processor
            m_changeProcessor.Connect(application, changeDefinition, document);
        }
Esempio n. 3
0
 public ChangeRequest()
 {
     m_changeProcessor = null;
 }