Complete the code to start a motion study in SolidWorks.
motionStudy = swApp.[1]("Motion Study 1")
The GetMotionStudy method retrieves an existing motion study by name.
Complete the code to add a motor to the motion study.
motor = motionStudy.[1](component, axis, speed)The AddMotor method adds a motor to a component along a specified axis with a given speed.
Fix the error in the code to run the motion study simulation.
result = motionStudy.[1]()The RunSimulation method starts the motion study simulation process.
Fill both blanks to set the duration and frame rate of the motion study.
motionStudy.[1] = 10 motionStudy.[2] = 30
Duration sets the total time of the study in seconds.
FrameRate sets how many frames per second are recorded.
Fill all three blanks to export the motion study results as a video file.
motionStudy.[1] = "C:/Videos/motion.mp4" motionStudy.[2] = 1920 motionStudy.[3] = 1080
OutputFileName sets the path and name of the exported video.
OutputWidth and OutputHeight set the resolution of the video.
