protected override int Run(string[] commandLine)
        {
            s_instance = this;

            m_ActiveModel   = Bentley.MstnPlatformNET.Session.Instance.GetActiveDgnModel();
            m_ActiveDgnFile = Bentley.MstnPlatformNET.Session.Instance.GetActiveDgnFile();

            return(0);
        }
Example #2
0
        protected override int Run(string[] commandLine)
        {
            s_instance = this;

            m_ActiveModel   = Bentley.MstnPlatformNET.Session.Instance.GetActiveDgnModel();
            m_ActiveDgnFile = Bentley.MstnPlatformNET.Session.Instance.GetActiveDgnFile();

            this.ReloadEvent        += SetPWVarsCE_ReloadEvent;
            this.UnloadingEvent     += SetPWVarsCE_UnloadingEvent1;
            this.NewDesignFileEvent += SetPWVarsCE_NewDesignFileEvent;

            return(0);
        }