Exemplo n.º 1
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);
        }
Exemplo n.º 2
0
 public SetPWVarsCE(System.IntPtr mdlDesc)
     : base(mdlDesc)
 {
     s_instance = this;
 }