コード例 #1
0
ファイル: OnStartup.cs プロジェクト: Nucs/Autocad-Utilities
 public void Initialize()
 {
     try {
         Quick.Editor.PointMonitor += EditorOnPointMonitor;
         Paths.ConfigDirectory.EnsureCreated();
     } catch (Exception e) {
         Console.WriteLine(e);
         Debug.WriteLine(e);
         Quick.Write(" " + e);
     }
 }
コード例 #2
0
 /// <summary>
 ///     Execute a command much a like in LISP. Instead of spaces write commas.<br></br>
 ///     An empty string is equivalent to pressing enter.
 ///     <example>
 ///         //LISP <br></br>//selection is set loaded before the method call<br></br>
 ///         (command "_.pedit" "_m" selection "" "_j" "" "")<br></br>
 ///         //C#<br></br>
 ///         quicktrans.Command("_.pedit", "_m", <br></br>quicktrans.GetSelection().Value, "", "_j", "", "");
 ///     </example>
 /// </summary>
 /// <param name="parameter"></param>
 public void Command(params object[] parameter)
 {
     Quick.Command(parameter);
 }