public Tuple <string, ModelLoad> BuildModelLoadPacket(string name, string file, double x, double y, double z, double scale, bool cullbackfaces, bool animated, string animation)
        {
            ModelLoad obj = new ModelLoad()
            {
                id   = "scene/node/add",
                data = new Data2()
                {
                    name       = name,
                    components = new Components1()
                    {
                        transform = new Transform()
                        {
                            position = new double[] { x, y, z },
                            scale    = scale,
                            rotation = new double[] { 0, 0, 0 }
                        },
                        model = new Model()
                        {
                            file          = file,
                            cullbackfaces = cullbackfaces,
                            animated      = animated,
                            animation     = animation
                        }
                    }
                }
            };
            string json = JsonConvert.SerializeObject(obj);

            return(new Tuple <string, ModelLoad>(json, obj));
        }
 private void TeklaObject_ModelLoad()
 {
     ModelLoad?.Invoke();
 }