Page 1 of 1

PB Automation

PostPosted: Sun Dec 10, 2017 9:14 am
by parkinstein
Hi, All.
How can I get FolderID and FileID files from a specific project folder?
Thank you in advance!

Re: PB Automation

PostPosted: Sun Dec 10, 2017 5:57 pm
by Dennis Kuypers
Hello,

you would have to get all media and then filter by path. If you are using the SDK from github that would be
Code: Select all
GetResourceInfo(int treeItemsMediaIndex)

You can start with 0 and then count up until the function returns success=false to get all media.

python - csharp - nodeJS

Note: Only media have folder and file ids, not folders.

Dennis

Re: PB Automation

PostPosted: Sun Dec 10, 2017 9:55 pm
by parkinstein
Thank you for fast answer.
Unfortunately, VisualStudio says that the AUTO class does not contain a definition for GetResourceInfo. Any more ideas?
I`m using C# SDK from coolux.de. Could you give a link to the github project?


I'll try to explain the problem. I generate a picture based on the data from the database, then I want to place it in a specific project folder with the following FileID.
To do this, I need to get the last (maximum) FileID in the folder I defined for this content. Then I need to place this or any other picture from this folder on the specified layer.