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