SetRecordingStartTime
Sets the recording start time. Python only.
Syntax
SetRecordingStartTime(doc, dateTimeString)
Parameters
Parameter |
Type |
Description |
---|---|---|
doc |
documentReference |
Reference to the document |
dateTimeString |
string |
String representing recording start time in ISO 8601 format |
Notes
Use myDateTime.isoformat()
to convert Python datetime object to ISO 8601 string.
Examples
Python
import nex
from datetime import datetime
doc = nex.GetActiveDocument()
# set recording start time to current time
now = datetime.now()
nex.SetRecordingStartTime(doc, now.isoformat())