Unsolved
This post is more than 5 years old
1 Rookie
•
90 Posts
0
4273
September 16th, 2010 00:00
What is the refid field used for in a c-clip?
Hi all,
Does anybody know what the refid field in a c-clip is used for?
e.g:
The API reference guide explain's most of the clip attributes but not the refid attribute.....
Rgds
Ronan
No Events found!
gstuartemc
2 Intern
•
417 Posts
0
September 16th, 2010 07:00
It is used internally to "keep alive" blobs that are written until the parent clip is written. It is of no use or interest to users / applications.
GuatZ
9 Posts
0
September 16th, 2010 07:00
Hey Graham -
Would it be safe to say that this is a unique identifier for each blob? For instance, if I change the metadata for something like EBR status and execute a clipWrite, that refid doesn't change, I'm assuming because the blob data is unchanged, I simply have two CDF's now. Does that thinking sound correct?
gstuartemc
2 Intern
•
417 Posts
0
September 17th, 2010 03:00
No, the refid is not an identififer for any blob within the clip. Remember that there can be multiple blobs within a clip but there is only one refid. The unique identifier for each blob is contained as a hidden attribute on the blob tag - theses can be seen if you view the raw clip using JCASScript.
As I said, the refid is a temporary CentraStar object that is associated with the blobs of a new clip that is being created. It is used to keep these blobs alive until the final clip is written. Once the clip is persisted it is effectively no longer used. It is of no use to the any application and should be ignored.
GuatZ
9 Posts
0
September 17th, 2010 07:00
Thanks Graham, the rawview was exactly what I needed for my problem and I had forgetten about it. I appreciate your time and thoughts!!