As shown in the image, I would expect the last too bools to be True but they are False. Am I doing this wrong, missunderstanding how to use .ValueIsBlocked?
Thanks Sue
As shown in the image, I would expect the last too bools to be True but they are False. Am I doing this wrong, missunderstanding how to use .ValueIsBlocked?
Thanks Sue
Hi @Suekieza , we could definitely benefit from better documentation on ValueIsBlocked(), but the fact that it does not take a UsdTimeCode parameter hints that it is limited to telling you only whether the attribute is fully blocked in a non-time-varying way (i.e. a SdfValueBlock has been authored to the strongest spec’s default
and no timeSamples or spline have been authored to it.
Sorry - it’s pretty confusing, but please feel free to file an Issue for clarification. We could, potentially, also add a TimeCode-accepting overload that could answer the question… the only thing is that that query will be quite a bit slower, especialy if the attribute is being fed by Value Clips, whereas the current query is just returning a cached bit.