Export a list of objects

Hello from Lima, Peru.

I've been looking for a script or a way around this problem for a few weeks now... I need to export a list from 3Ds MAX with the object names in the scene (hopefully in .CSV format for later import to Excel). Anyone got an idea?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tdugard's picture

CSV Attempt

output_name = getSaveFileName caption:"CSV File" types:"CSV (*.csv)|*.csv|"
if output_name != undefined then
(
	output_file = createfile output_name
	for vObj in Objects do
	(
		format "%\n" vObj.name to:output_file
	)
	close output_file
)

CSV are just plain text so here we go

tdugard's picture

output_name = getSaveFileName

output_name = getSaveFileName caption:"CSV File" types:"CSV (*.csv)|*.csv|"
if output_name != undefined then
(
	output_file = createfile output_name
	for vObj in Objects do
	(
		format "%\n" vObj.name to:output_file
	)
	close output_file
)

CSV are just plain text so here we go

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.