Jump to content

retrieving viewer res


eyevex

Recommended Posts

I am looking for a way to pull the resolution on screen of the 3D viewer to use in an expression. i have been attempting this via experimentation with several hscript commands without luck.

I thought that viewtransform would help me obtain this info, but if its in there i haven't been able to figure which attribute its on or how to retrieve it. i thought that maybe this is more attatched to the desktop and there was a way of querying it from there, but if its the case I haven't been able to find the appropriate function to do so.

Anyone have an idea? Again, all Im trying to do is pull the size of the viewer on screen preferably in pixels via hscript (but am plenty open to other methods) which doesn't seem like it would be so difficult, but.....

Any idea would be great,

thanks everyone

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...