Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NavisWorks API Export Timeliner Animation

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
daniel.odobescu
3031 Views, 4 Replies

NavisWorks API Export Timeliner Animation

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

4 REPLIES 4
Message 2 of 5

Hi,

 

Unfortunetly, there is not yet API for Timeliner Animation. Sorry for the bad news.

Message 3 of 5

Hi ,

Thank you for reply. I thought it might have been available.
Message 4 of 5
cheekyvan
in reply to: daniel.odobescu

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.

Message 5 of 5

@cheekyvan 

 

Do you know if it is possible to extract a list of each element with the following parameters:

  • Revit ID
  • Navisworks Task Name
  • Task Type
  • Planned Start Date
  • Planned End Date
  • Actual Start Date
  • Actual End Date

I am looking to link the phasing in Navisworks to the model in Revit.

Thank you!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report