PB Automation

Christie Pandoras Box Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Pandoras Box you are using. If your question is related to hardware, please state if you are using coolux hardware (which one) or if you built your own.

PB Automation

Postby parkinstein » Sun Dec 10, 2017 9:14 am

Hi, All.
How can I get FolderID and FileID files from a specific project folder?
Thank you in advance!
parkinstein
 
Posts: 3
Joined: Mon Oct 16, 2017 2:24 pm

Re: PB Automation

Postby Dennis Kuypers » Sun Dec 10, 2017 5:57 pm

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
Dennis Kuypers
(former Product Developer, Software)
Dennis Kuypers
coolux Germany
 
Posts: 771
Joined: Thu Jul 05, 2012 12:18 pm

Re: PB Automation

Postby parkinstein » Sun Dec 10, 2017 9:55 pm

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.
parkinstein
 
Posts: 3
Joined: Mon Oct 16, 2017 2:24 pm


Return to Pandoras Box V6

Who is online

Users browsing this forum: No registered users and 12 guests

cron