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: