User Tools

Site Tools


macros:example:timelinemarkers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:example:timelinemarkers [2023/03/31 14:23] – created icke_siegenmacros:example:timelinemarkers [2023/04/03 09:11] (current) icke_siegen
Line 3: Line 3:
 ====== Timeline: Import Markers ====== ====== Timeline: Import Markers ======
  
-^ by: | Sebastian Beutel with massive help from GRegory Haynes, March 2023 |+^ by: | Sebastian Beutel with massive help from Gregory Haynes, March 2023 |
 ^ published: | here | ^ published: | here |
 ^ description: | Import a marker file into a designated timeline | ^ description: | Import a marker file into a designated timeline |
Line 37: Line 37:
 This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
  
-tbd+Essentially it is just calling ''Timelines.ImportMarkersFromString()'' with the correct arguments (see [[:macros:function:Timelines.ImportMarkersFromString]] for more detailed explanations and other solutions): 
 +  * ''Handles.GetTitanIdFromHandle("timelineHandleUN=1")'' is used to get the TitanId from a specific usernumber as the function needs the titanId and not a handle 
 +  * ''"&lt;Version /&gt;"'' is the absolute minimum string as importMappingVersion - basically it is ''<Version />'' with the angled brackets written as entities 
 +  * ''"C:\Users\{username}\Documents\Titan\Markers\test.csv"'' is the absolute path to the file to import. This may differ on your system ({username} is your username, 'test.csv' is the filename which may also be different) 
 +  * ''Timecode.ParseFrameRate(100)'' is used to set the framerate (100 fps in this example) as AcwFrameRate object
  
 ===== How to use it ===== ===== How to use it =====
  
   - [[:macros:deploying|make this macro available]]   - [[:macros:deploying|make this macro available]]
- +  - put your markers file to a suitable location and adjust the arguments (path, framerate) in the macro accordingly 
-tbd+  - this may be handy if you need to work on your markers and need to import the same file multiple times
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/timelinemarkers.1680272597.txt.gz · Last modified: 2023/03/31 14:23 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki