Beispiel #1
0
        static void Main(string[] args)
        {
            string appDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
            string packagePath = appDataPath + "\\" + "Dynamo" + "\\" + "Dynamo Revit" + "\\" + "2.1" + "\\" + "packages";

            // DYNAMO PACKAGES PARSE
            ParseDYF      dyfObj = new ParseDYF();
            List <string> paths  = dyfObj.GetDyfsInDir(packagePath);

            dyfObj.ExportCSV();

            // DYNAMO GRAPH PARSE
            ParseJSON jsonObj = new ParseJSON();

            jsonObj.ParseJSONs(dyfObj);
            Console.ReadKey();

            GraphDataParse.ReadGraphCSV();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            string appDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
            string packagePath = appDataPath + "\\" + "Dynamo" + "\\" + "Dynamo Revit" + "\\" + "2.1" + "\\" + "packages";

            // DYNAMO PACKAGES PARSE
            //ParseDYF dyfObj = new ParseDYF();
            //List<string> paths = dyfObj.GetDyfsInDir(packagePath);
            //dyfObj.ExportCSV();

            //// DYNAMO GRAPH PARSE
            //ParseJSON jsonObj = new ParseJSON();
            //jsonObj.ParseJSONs(dyfObj);
            //Console.ReadKey();

            GraphDataParse.ReadGraphCSV();


            // PARSE FEATURIZED DATA
            //var temp = jsonObj.DataModels;
            //var temp2 = jsonObj.DataModels;
            //NodeDataModel.ParseNodeDataModels(jsonObj.DataModels);
        }