Community
3ds Max Forum
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

coordinate script

1 REPLY 1
Reply
Message 1 of 2
a.am1
287 Views, 1 Reply

coordinate script

Hello Sir,

plz,How i can know  coordinates of all models in the scene, i used this script but it gave me incorrect values 😞 

 

Untitled3.png

1 REPLY 1
Message 2 of 2
leeminardi
in reply to: a.am1

Are you questioning the inclusion of "e" (scientific notation) or are the coordinates incorrect?

 

Try this script which avoids the use of $ (not recommended for maxscripts) and creates a comma delimited file which can be read by Excel.

 

outputFile = createFile "output.txt"
obj=selection as array
for o in obj do format "\n%,%,%,%" o.name o.pos.x o.pos.y o.pos.z to:outputfile
close outputFile

Lee

lee.minardi

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report