Copy link to clipboard
Copied
After using the applyRedactions function from the api, the function leaves over these Vector Objects. Is there a way to remove them with more scripting?
I guess one solution is to make layers and then delete the Vector Objects layer... Is there a way to automate that?
All I wanted to do was remove any text at the footer for all pages using js. Thanks
Additional info:
Script I used I copypasta'd from here
Here's what I mean by Vector Images left by redacting
Copy link to clipboard
Copied
Actually, making layers and then removing the layers won't work because it would remove other Vector Objects that are not left overs from the redacting.
Copy link to clipboard
Copied
What happens when you use white as redaction color?
Copy link to clipboard
Copied
Hey thanks for the suggestion. I have considered this as a solution, where I apply a white redaction to all pages and flatten it to get rid of the vector object. However, I don't want to do this because I would like to have other elements seperate.
Is there a way to uniquely identify vector objects that are filled (ie, vector objects left by the redact)?
Better yet, is there a way to delete object within a certain area of every page? Even if we can't uniquely target the vector object, is there a way to list all editeable objects within a page? Cause then I can just delete the last element, which would always be the element that I want to remove...
Thanks