Creation of VCAX Files by plugin

Hi,

 

we’re developing an addon, which creates automatically a 3D PDF on buttonclick and mail the pdf file to a customer.

Now we want to extend this functionallity to generate a VCAX file and a 3D PDF file.

I extended the class to Import ‘IAnimationRecorder’ but then the plugin wont load at visual components startup.

 

is there anything I’m doing wrong?

Thanks to the dualis Support, I got an answer.

For everyone struggle with these problem:

use IApplication.Simulation.AnimationRecorder.

recorder.Start(AnimationRecordingMethod.WriteVcax, new Uri(exportFilename), “Test”, string.Empty, string.Empty, null);

// you must start your simulation manually and wait for the finish

recorder.Stop();