cancel
Showing results for 
Search instead for 
Did you mean: 

Simtalk to start record in a camera

Pioneer
Pioneer

How can I say with Simtalk to start recording and to do it in a determined camera?

1 REPLY

Re: Simtalk to start record in a camera

Siemens Phenom Siemens Phenom
Siemens Phenom

If you mean video recording, this would be F3DRecordVideo(p) - p is a string with the video file to be written. Note that this feature has been added in Plant Simulation 12.1.

 

I'm not certain what you mean with "doing it in a determined camera". If you want to run a camera animation while the video is recording, you can look in the help for the topics starting with _3D.CameraAnimations.

Basically, camera animations and self animations behave very much alike. So, if you have already successfully used self animations, you should find camera animations no trouble.

 

A simple example method to start both video recording and camera animation could look like this:

MyFrame._3D.CameraAnimations.MyCameraPath.schedule;

MyFrame._3D.CameraAnimations.playAnimation;

F3DRecordVideo("C:\MyVideo.avi");