trevorgooch Posted March 20 Share Posted March 20 Hello, my very clever friends! TLDR: Is there a way for the clip cube to inform the result of the criteria "is visible"? I have specifically tested it in the context of a worksheet database criteria, though not yet in a script. Backstory: I have a worksheet that is populated by the criteria "is visible" to give me a quick report of the current on screen elements in table form. (I have a script to recalculate active worksheet that's triggered by my stream deck) I often click on a row and "select item" -> fit to obj -> select similar -> clip cube ->... ??? -> profit wildly -> recalculate active worksheet to see what's around the elements I'm investigating. Anyway - I *think* I'd like to be able to use the clip cube as part of a worksheet criteria. Have a great day. Quote Link to comment
JBenghiat Posted March 20 Share Posted March 20 Short answer -- no. The clip club is just essentially a view. The criteria is actually looking at a visibility flag that's set on objects (which really dates from pre-viewport days) and their containers (i.e. whether their containing layer is set to visible). Your worksheet isn't going to change if you're zoomed in on a group of objects, for example. The Clip Cube doesn't change any visibility flags, it just filters what gets displayed on screen. From a script standpoint, you could retrieve the clip cube, get its location and dimensions, then parse objects and test if they exist within the cube -- but that is not a small task. 1 Quote Link to comment
trevorgooch Posted March 20 Author Share Posted March 20 I really appreciate the “like a view perspective”. It helps it make sense. I don’t think it’s worth the effort to me this month to dig deeper- it’s most important to be nimble. Thanks, Josh! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.