[Closed] Select By Name v2
Fixed a bug which deselects/reselects the current object when you start to rename it.
Great tool impus. i’ve been playing with it and found some bugs / problems:
-
when trying to type something in the search field at the top the dialog gets out of focus, so i can’t type anything
-
hide/freeze/delete(!) are not undoable
-
the dialog can’t be used in pick sessions
- the bone objects filter doesn’t work (bones are affected by geometry filter)
I’m definitely digging it also.
Edit: looks like i was too slow to post my bug.. you've done fixed it already, nifty :)
One problem, if you have the SelectByNamev2 window open and attempt to rename the current selected object, it will interrupt you after every letter and steal focus from the typing.
heres a tiny contribution too.. which will save the floaters position on screen between uses in a local ini file..
--------------------------------------------------------------------------------------
-- Position Saves and Reloads..
--------------------------------------------------------------------------------------
on rlt_newSelectionTool moved loc do
(
vsaifloaterpos = [ loc.x , loc.y ]
setIniSetting "$max\ScriptFloaterPosition.ini" "rltFloater" "newSelectPosX" (vsaifloaterpos.x as string)
setIniSetting "$max\ScriptFloaterPosition.ini" "rltFloater" "newSelectPosY" (vsaifloaterpos.y as string)
)
--------------------------------------------------------------------------------------
--and down at line 726, edit to say
createDialog rlt_newSelectionTool pos:[ ((getinisetting "$max\ScriptFloaterPosition.ini" "rltFloater" "newSelectPosX") as float), \
((getinisetting "$max\ScriptFloaterPosition.ini" "rltFloater" "newSelectPosY") as float)]
- when trying to type something in the search field at the top the dialog gets out of focus, so i can’t type anything
[color=White]I’ve not been able to reproduce this problem. Are you sure this is still an issue?
[/color] – hide/freeze/delete(!) are not undoable
[color=White]They are now!
[/color] – the dialog can’t be used in pick sessions
[color=White]This could be a bit more tricky. I’ll get back to this one. It was always planned to be done.
[/color] – the bone objects filter doesn’t work (bones are affected by geometry filter
[color=White]Fixed! Also xrefs should actually work now!
Also added in [/color]Vsai’s save position request.
Thanks for the feedback guys!!
[color=White]
I’ve not been able to reproduce this problem. Are you sure this is still an issue?
interestingly, me neither… oh well
just realised not even the standard max selection floater supports picking sessions… i think it’s likely this isn’t possible at all
another little problem: with big scenes it gets pretty slow because it’s selecting things in the viewport as you type, maybe you should only do the viewport selection after hitting enter if possible
[/color]