Page 1 of 1

How select newly imported object using script

Posted: 11 May 2015, 18:45
by Xsinode
How I can automaticaly select newly imported object or define coordinates for imported object using script (OBJ or FBX file formats). For example i wanna import my object in scene origin or maybe current mouse position. Thanks.

Re: How select newly imported object using script

Posted: 13 May 2015, 17:01
by EricTRocks
Look up the PickPosition command.

Then you'll have to do some code to get the returned object from the Import commands you're looking for. Then based on the picked position, you will need to set the transform of the objects you import.