Hello,
Kinldy request help on exporting Timeliner Animation from API. I am using VB.NET Professional 2012 and NavisWorks Simulate 2013. I have created an AddInPlugin that loads the model, creates Appearances, TaskTypes and Tasks from an MDB database. After the plugin has finish loading the model and all data, I can run the simulation manually. However, I have to export simulation AVI for a bunch of models.
Thank you very much for your help,
Daniel
Solved! Go to Solution.
Solved by cheekyvan. Go to Solution.
Solved by xiaodong_liang. Go to Solution.
Hi,
Unfortunetly, there is not yet API for Timeliner Animation. Sorry for the bad news.
Hi
Probably a bit late now but you can export Timeliner Animation through the Com Api - something like:
//Set the IOPlugin options String ioPluginName; ioPluginName = "lcodpanim"; ComApi.InwOpState10 state = ComApiBridge.ComApiBridge.State; ComApi.InwOaPropertyVec options = state.GetIOPluginOptions(ioPluginName); ListPropertyVec(ref options); foreach (ComApi.InwOaProperty opt in options.Properties()) { if (opt.name == "export.image.anit-alias.level") opt.value = 4; else if (opt.name == "export.anim.fps") opt.value = 30; else if (opt.name == "export.image.height") opt.value = 1280; else if (opt.name == "export.image.width") opt.value = 720; //Timeliner Test else if (opt.name == "source") opt.value = "LcTlAnimSequencyFactory"; else if (opt.name == "renderer") opt.value = "lcodpopengl"; } //Export the animation String exportFilePath = "C:/timeliner_test.avi"; state.DriveIOPlugin(ioPluginName, exportFilePath, options);
Hope this helps.
Do you know if it is possible to extract a list of each element with the following parameters:
I am looking to link the phasing in Navisworks to the model in Revit.
Thank you!