Lampay Posted December 12, 2024 Share Posted December 12, 2024 Hey Houdini enthusiasts, Hope you're all doing well! I'm currently working on creating an HDA, and I'd like to add a feature that automatically retrieves the size of an image loaded in a COP network (via a File or Null node). My goal is to extract the width and height shown in the DataWindow field, so I can use these values elsewhere in my HDA (e.g., to dynamically adjust a 3D object). The issue: I can't figure out how to automatically fetch these dimensions and expose them in my HDA. I've tried a few approaches with Python and expressions, but I'm stuck. Does anyone have a simple method or tips to dynamically retrieve these dimensions? Thanks a lot for your help, and happy Houdini-ing! Quote Link to comment Share on other sites More sharing options...
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.