PDA

View Full Version : Collect EditablePoly/Mesh Buttonop Methods?


Kickflipkid687
03-11-2012, 10:20 PM
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 (http://docs.autodesk.com/3DSMAX/14/ENU/MAXScript%20Help%202012//index.html?query=buttonOp).

Basically collecting/listing them like the GetPropNames works.

Thanks!

Kickflipkid687
03-11-2012, 10:44 PM
Ok, I guess showInterfaces obj works.

Although, now I'd have to figure out a good way to break this down....

Kickflipkid687
03-12-2012, 12:24 AM
Although, I'm wondering if there is a better way? I think the last method I mentioned just prints to the listener?

denisT
03-12-2012, 01:03 AM
Although, I'm wondering if there is a better way? I think the last method I mentioned just prints to the listener?
for showInterfaces it should be able to specify a stream to output the display to.

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

Kickflipkid687
03-12-2012, 02:12 AM
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)
)

CGTalk Moderation
03-12-2012, 02:12 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.