AnsweredAssumed Answered

10.1.1 Programatically Invoke MeasureAction Issue

Question asked by rcoodey on May 14, 2013
Latest reply on Jul 11, 2013 by rcoodey
So we finally got our EDN subscriptions and are upgrading our code base from the 2.4 API to the 10.1.1 Runtime SDK... mostly everything seems to have ported over just fine except with our programatically executable measure action. We have the following class that worked fine in 2.4:

    public class ExecutableMeasureAction : MeasureAction     {         public void Execute()         {             Invoke(null);         }     }


But in 10.1.1 it is throwing an error in the Invoke: "Graphic Symbol is not serializable to JSON"

Any ideas or help on getting around this would be greatly appreciated.

Thanks a lot!

Outcomes