Search - User list
Full Version: Attributes to Frame Range
Root » PDG/TOPs » Attributes to Frame Range
alexwheezy
Hi!

What is a way to export attributes from geometry to a frame range for a work item?
Each incoming geometry has its own animated frame range, I create this attribute at the detailed level and I want to pass this attribute to the ROP Alembic Output node to write animation to my alembic in the specified frame range. But all alembics are saved with only one frame range, which I don't need.
alexwheezy
Here's a better example to illustrate my problem.
I want to understand if the attribute can be addressed at the detailed level to the TOP through HScript expressions, so that each incoming work item has its own frame range.
tpetrick
You need to use a Geometry Import TOP if you want to load per-work item geometry attributes. The Geometry Import can be used with a SOP or a file path, and can import detail attributes from the source geometry.
alexwheezy
Thanks you, tpetrick.

Indeed it sounds reasonable and should work, but somehow it still doesn't work. The attributes for each work item remain unchanged.
tpetrick
On the Geometry Import there's a toggle for “Evaluate With Work Item Attributes”. You'll need to turn that on if the SOP network you're importing uses any PDG work item expressions, like @pdg_input. When that toggle is enabled the SOP network is recooked for each work item, rather than only cooked once.
alexwheezy
Perfect! That's what I need.
Thanks, tpetrick
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB