Beispiel #1
0
 public GetObjectValueByKeyAsync() : base("Speckle Object Value by Key Async", "Object K/V A",
                                          "Gets the value of a specific key in a Speckle object.", "Speckle 2 Dev", "Async Object Management")
 {
     Kit = KitManager.GetDefaultKit();
     try
     {
         Converter  = Kit.LoadConverter(Applications.Rhino);
         BaseWorker = new GetObjectValueByKeyWorker(this, Converter);
         Message    = $"{Kit.Name} Kit";
     }
     catch
     {
         AddRuntimeMessage(GH_RuntimeMessageLevel.Error, "No default kit found on this machine.");
     }
 }
 public override void SetConverter()
 {
     base.SetConverter();
     BaseWorker = new GetObjectValueByKeyWorker(this, Converter);
 }
 public GetObjectValueByKeyAsync() : base("Speckle Object Value by Key", "Object K/V",
                                          "Gets the value of a specific key in a Speckle object.", "Speckle 2", "Object Management")
 {
     BaseWorker = new GetObjectValueByKeyWorker(this, Converter);
 }
Beispiel #4
0
 public GetObjectValueByKeyAsync() : base("Speckle Object Value by Key", "Object K/V",
                                          "Gets the value of a specific key in a Speckle object.", ComponentCategories.PRIMARY_RIBBON, ComponentCategories.OBJECTS)
 {
     BaseWorker = new GetObjectValueByKeyWorker(this, Converter);
 }