Quote from Magnus on 24. February 2019, 23:54Doesn't seem to be too much on the topic online, but I found this:
alembicVisibility(abcPath, objectPath, sampleTime, check_ancestor=False)→(value, isConstant)
Gets the visibility of an object. ReturnsNoneor a tuple of an integer and a boolean:
The first item is
0for hidden,1for visible, or-1for "use the parent object’s visibility".The second item is
Trueif the visibility is constant over time.If you pass
check_ancestor=True, the function will check the visibility of ancestor objects to return a known value (0or1) instead of-1as the first item.
I tried putting this in a primitive wrangle after the alembic sop, but it's not returning anything:
int @isVisible = alembicVisibility(`chs("../alembic1/fileName")`, "../alembic1", `chs("../alembic1/frame")`, check_ancestor=False);
Maybe it's not the function you where referring to?
EDIT: Missed your previous reply, thanks, really appreciate all the help! I posted on the sideFX forums as well. Fingers crossed I can find a way to get this to work 🙂
Doesn't seem to be too much on the topic online, but I found this:
alembicVisibility(abcPath, objectPath, sampleTime, check_ancestor=False)→(value, isConstant)
Gets the visibility of an object. ReturnsNoneor a tuple of an integer and a boolean:
The first item is
0for hidden,1for visible, or-1for "use the parent object’s visibility".The second item is
Trueif the visibility is constant over time.If you pass
check_ancestor=True, the function will check the visibility of ancestor objects to return a known value (0or1) instead of-1as the first item.
I tried putting this in a primitive wrangle after the alembic sop, but it's not returning anything:
int @isVisible = alembicVisibility(`chs("../alembic1/fileName")`, "../alembic1", `chs("../alembic1/frame")`, check_ancestor=False);
Maybe it's not the function you where referring to?
EDIT: Missed your previous reply, thanks, really appreciate all the help! I posted on the sideFX forums as well. Fingers crossed I can find a way to get this to work 🙂
Quote from RichardF on 25. February 2019, 0:18No that's not what I meant. Google for "intrinsic attributes", which is not necessarily related to alembic, but can be useful in many situations.
Here is an example what I meant:
No that's not what I meant. Google for "intrinsic attributes", which is not necessarily related to alembic, but can be useful in many situations.
Here is an example what I meant:
Uploaded files: