Home Technical Talk

[MAXScript] Get a Full List of Array

interpolator
Offline / Send Message
Revel interpolator
Hey guys! I need help here  :|
Is there a way to print out an array with more than 20 items in it?

For example, I run this for loop into an editable mesh:
(
	flist = #()
	sglist = #()
	for i = 1 to (getNumFaces $) do
	(
		append flist (getFace $ i)
		append sglist (getFaceSmoothGroup $ i)
	)
-- 	flist as array
	sglist as array
)<br>

Result on listener:
#(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...)
Even though my face is more than that, you can tell that there is more by max putting it as a "..." at the last items of the array.
How do I return the full list of the array no matter how long the list is?

Can't seem to find an answer on help file or google either...

Replies

Sign In or Register to comment.