Notifications
Clear all

[Closed] getting clipping ranges from active viewport?

Hi,
Is there any clean way to get near/far clip from the active viewport (Maxscript)?
I’m aware you can get it from cameras. I’m also pretty sure the SDK provides this, maybe I overlooked something in maxscript.

Thanks

3 Replies

You’ll probably need to go the SDK route… I don’t think there’s a way to access this property through maxscript.

Martijn

Ok, thanks. I’ll have to consider it.

Hi,

For some reason, if I make any light, and in the listener run:

$.castShadows

to check the value of the checkbox, it doesnt seem to get updated as I toggle the checkbox in the modifer panel.

I check the box, run the command, it might return ‘true’, I uncheck it, still returns ‘true’, when it’s clearly off!

Using max 9. Any ideas?

EDIT: Oh shit, this was suppose to be a new thread.
OK, I made the thread, mods can delete this post if they want.