How select newly imported object using script
How select newly imported object using script
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.
-
- Moderator
- Posts: 754
- Joined: 25 Nov 2009, 01:41
- Contact:
Re: How select newly imported object using script
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.
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.
Who is online
Users browsing this forum: trendiction [Bot] and 33 guests