I'm trying to:
- add a png file to the image library
- add a image support guideline to the project canvas using the newly added png file from the image library
- tv_libraryimageadd for adding the png file to the image library
- tv_guidelineadd for adding the guideline image to the project canvas
The main challenge is getting tv_libraryimageadd to work. The documentation states that these are the parameters to use:
Code: Select all
tv_libraryimageadd "type" "image" "name" iName "parent" iId "source" "file" "path" iPathFile
Code: Select all
tv_libraryimageadd "image" guideline folderID "file" ".../Desktop/guideline.png"
I did find the tv_libraryimageinfo command:
Code: Select all
tv_libraryimageinfo "id" iId|iPath ["type" "id"|"type"|"name"]
Code: Select all
folder
How to retrieve the parent folder ID for the tv_libraryimageadd command or the object id for the tv_libraryimageinfo command.