Notifications
Clear all
[Closed] is there any camera before loading file
Dec 08, 2016 3:19 pm
seams to be easy, but still couldn’t find. How to detect, Is there any camera in a file without loading it?
2 Replies
1 Reply
Read the names of the objects in the file and search for “cam” or “camera” in their names. Not 100% correct method, but…
getMAXFileObjectNames()
Or:
http://forums.cgsociety.org/showthread.php?f=98&t=894633&page=1&pp=15
Dec 08, 2016 3:19 pm
Yes, that’s not 100% unfortunately, but better then nothing. Thank you so much!