output an array to a textbox or..

I have an array with some keyframe numbers stored in. when this array gets large (more than 20-25 numbers) and I output it in max listener it gets truncated and "..." will shown instead of actual keyframe numbers, How can I output this array in a text box pop up showing those frame numberes with truncation ?
Thanks.

Comments

Comment viewing options

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

Does anyone know how I can

Does anyone know how I can update the frame field in render setting dialogue box with an array of frame numbers?
Thanks.

miauu's picture

.

rendTimeType = 4
 
rendPickupFrames = "1,3,5,8,12-30"

But why the Frame field is not updated I don't know.

barigazy's picture

...

Hey Kostadin,
how are you friend?
U need also to update render scene dialog.

fn addPickupFrames frameNumbers = if isKindOf framenumbers string do
(
	rendPickupFrames = frameNumbers
	if rendTimeType != 4 do rendTimeType = 4
	renderSceneDialog.update()
)
addPickupFrames "1,3,8,1235,12-80,90-25"
--or in this case
keyArr = for i = 1 to 25 collect i
addPickupFrames (trimright (trimleft (with PrintAllElements on keyArr as string) "#(") ")")

barigazy

miauu's picture

.

Hi, Branko!
I am ill(again). :)

barigazy's picture

...

Probably you are working too much.
You have to get some rest (at least one week).
Greetings to you and your family and wish you a quick recovery.

barigazy

cuatcside's picture

Thank you so

Thank you so much.
PrintAllElements on worked for me.
I really appreciate it.

barigazy's picture

...

Use *with PrintAllElements on* context to see more then 20 array index when printing in listener

rollout test ""
(
	edittext tb "" pos:[5,5] fieldwidth:440
	on test open do
	(
		keyArr = for i = 1 to 25 collect i
		tb.text = trimright (trimleft (with PrintAllElements on keyArr as string) "#(") ")"
	)
)
createdialog test 450 50

barigazy

Comment viewing options

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