Jump to content

Accessing Camera Attributes In VEX [SOLVED]


Recommended Posts

How would I go about accessing specific camera attributes in VEX?

I have a subnetwork with a camera operator path input field. Inside that subnetwork I'd like to access camera attributes from whichever camera is in that operator path field.

tXVzgDn.jpg

I'm unfamiliar with these types of attributes, as they are not point or primitive attributes.

Inside the subnetwork I have a wrangle set to run over detail attributes, which I can access the camera focus by using the regular copy / paste relative reference method, but this doesn't use the operator path input field back up on the subnetwork itself. Kind of confused as to how I would go about this. I have a feeling I'm messing something up to do with mixing string / float attributes?
53FNfMp.jpg

Access_Camera_Attributes_In_VEX.hip

Edited by GlennimusPrime
Link to comment
Share on other sites

  • 3 weeks later...

Hi sorry for the late reply! I didn't get the notification someone had replied.

Thank you, good to know this is a way to access those attributes in VEX, although I'm trying to make an HDA, so would like the user to be able to select their own camera.

How could I then go about linking that camera selection to this focallen attribute you have created?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...