macros:function:timelines.importmarkersfromstring
This is an old revision of the document!
Function
Timelines.ImportMarkersFromString
Void Timelines.ImportMarkersFromString( Int32 timelineId, String importMappingVersion, String csvFilePath, AcwFrameRate frameRate )
API | https://api.avolites.com/16.0/api/Timelines.ImportMarkersFromString.html |
---|---|
description | Imports markers into the timeline. |
namespace | Timelines |
parameter | timelineId ( Int32 ): The timeline ID. |
importMappingVersion ( String ): The XML node for the version of the mapping to use. | |
csvFilePath ( String ): The csv file path. | |
frameRate ( AcwFrameRate ): The framerate to import. | |
return value | Void |
Arguments
- timelineId is the identifier or the timeline you want to import the markers into. Unlike for other functions which expect a handle this one expects a titanId. You may retrieve this e.g. from Web API, or you use e.g. Handles.GetTitanIdFromHandle to get the titanId for a specific handle by its usernumber:
Timelines.ImportMarkersFromString(1819, …)
– example with hardcoded titanIdTimelines.ImportMarkersFromString(Handles.GetTitanIdFromHandle(“timelineHandleUN=1”), …)
– example to get the titanId from a usernumber
Example in
<step>Timelines.ImportMarkersFromString( Handles.GetTitanIdFromHandle("timelineHandleUN=1"), "<Version />", "C:\Users\sb\Documents\Titan\Markers\test.csv", Timecode.ParseFrameRate(100)) </step>
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/timelines.importmarkersfromstring.1680515881.txt.gz · Last modified: 2023/04/03 09:58 (external edit)