Notifications
Clear all

[Closed] Collect EditablePoly/Mesh Buttonop Methods?

Hello,

Is there a way to collect/list all the EditablePoly/Mesh ButtonMethods?
I’d like to be able to easily collect/list all of them, like they are listed here.

Basically collecting/listing them like the GetPropNames works.

Thanks!

4 Replies

Ok, I guess showInterfaces obj works.

Although, now I’d have to figure out a good way to break this down…

Although, I’m wondering if there is a better way? I think the last method I mentioned just prints to the listener?

1 Reply
(@denist)
Joined: 1 year ago

Posts: 0

[left]for showInterfaces it should be able to specify a stream to output the display to.

yes. it is:
[left]showInterfaces {<maxwrapper> | <maxclass> | node} [ to:<stream> ]
[/left]
[/left]

Yeah. I guess I saw that. But how do i output to stream?

So, something this like is probably more like I’d want to do. Although, I’m trying to break up each method and store into an array. But it seems like it will be hard to get it all collected/stored properly.

theStrStream = stringStream ""
 showinterfaces Editable_Poly to:theStrStream
 strArr = #()
	
 while (eof theStrStream) != true do 
 (
		append strArr (readLine theStrStream)
  )