Example #1
0
 protected static void Update(object value, Action <object, BaseValueVM> update, BaseValueVM vm)
 {
     if (update == null || value == null || Equals(PalettePropsService.Various, value))
     {
         return;
     }
     BaseValueVM.value  = value;
     BaseValueVM.update = update;
     BaseValueVM.vm     = vm;
     AcadHelper.Doc.SendStringToExecute($"{nameof(Commands._InternalUse_UpdatePropValue)} ", true, false, true);
 }
Example #2
0
 protected static void UpdateTarget(BaseValueVM vm)
 {
     vm.Value = vm.ValueOrig;
 }