Rivendale
09-26-2004, 01:47 AM
Hi, I have a little problem. I'm trying to redo the editable poly interface for myself to get rid of the command panel. I'm making a minimalistic ui that uses all the tools I usually use, and a few workflow improvements on exsisting tools. The problem I'm having is showing the current selection somehow in my ui; how many verts, edges and polygons that are currently selected. I have gotten as far as this(wich is not very far, heh):
c = $.selectedverts.count as string
...wich gives me a value of how many verts are selected. I want to put this into my ui somehow in a label or a button and I want it updated whenever the selection changes. Of course the value should also change based on wich subobject I'm currently in.
I've been trying like crazy to do this myself but I can't find out how. I want it shown in the same way the normal Editable poly interface shows it, but I can't seem to access that to see how it's done. Any solutions are very appreciated.
CML
c = $.selectedverts.count as string
...wich gives me a value of how many verts are selected. I want to put this into my ui somehow in a label or a button and I want it updated whenever the selection changes. Of course the value should also change based on wich subobject I'm currently in.
I've been trying like crazy to do this myself but I can't find out how. I want it shown in the same way the normal Editable poly interface shows it, but I can't seem to access that to see how it's done. Any solutions are very appreciated.
CML
