Notifications
Clear all

[Closed] ActiveX; Trees + Lists = Layers Pallet

I’m currently trying to figure out what’d be better; Tree view or List view. I need the ability to merge into groups, but it’s also vital that each object in the tree have information displayed quickly and accessably.

I’m rather fond of the “Layers Pallet” in 3dsMax, but I don’t know how to script an ActiveX control that’s similar to it.

Anyone know how to build an interface similar to the Layers Pallet?

7 Replies

you could try looking at “How To … Develop a Scene Browser using TreeView ActiveX Control” parts 1 + 2

but more what you’re looking for with regards to Layer Manager would be “How To … Develop a Selected Objects Inspector using ListView ActiveX Control” parts 1+ 2 from the MXS help

I must’ve overlooked those tutorials.
They talk about making a hybrid between the two?

You should look at this www.fangornlm.com

Okay, enough self plugging. I happen to know that the layer control in 3dsMax is a listview that’s specialized. But since it’s hardcoded in, so it is impossible to use outside of 3dsMax, or even maxscript.

As for a combiniation of the two, well microsoft doesn’t make one. Some other folks make them, but those are for .NET. As far as I know not one single company makes one for C++. And that is sad folks.

Aww…Depressing.

Hey Alpine; maybe you can help me with another pickle I’m in:

Is it possible to have MaxScript extract an operand from a boolean? I’m looking everywhere, but I can’t seem to find a way to rescue an operand out of a boolean once it’s in there.

Huh? Explain what you mean.

Well, as you know, you can use 3dsMax to create boolean compound objects using two operands. You can alter how they’re displayed, how they interact with eachother (Union, intersect, etc), and you can extract operands to edit them. The trouble is, I can’t find the MaxScript command to extract boolean compound object operands.

This means bad news for the plug-in I’m working on for my team. I’m writing a kind of “boolean tracker” that will help keep boolean primitives orderly. That’s wky I was asking about the listview versus treeview. I know booleans stink, but this is important because we’re taking them in a really cool direction.

Unfortunately, for some functionality to work properly, the script would need to be able to reach into a massive boolean tree (say 40 booleans stacked together) and extract an operand. Can it be done?

P.S. Fangorn looks pretty hott. :bounce:

Bobo found my similar post on another forum and answered my problem.
Here is his post in case anyone has this trouble again. Thank you Bobo!!