Re: Get properties of object when in "pointer mode"
Posted: Fri Mar 09, 2018 2:22 pm
@ Herman, beautiful, concise, simple !
@ raugert, see? Now there is code I'd call gold of the realm
I don't think your asking too much, and I'm sure it has been done before. The way I usually go is, if your code works, but you think it can be done better, go with it and stick a comment inside the block to remind yourself to revisit it.
As your experience grows, you can revise it with better methods you might think up. Insights come at peculiar times (for me anyway), not always when I'm thinking about a particular problem, and often when I think I have stopped thinking about it completely. Not sure why it happens that way, but after near 30 years of it I stopped questioning it at this point heh.
Anyway, good luck with your project
@ raugert, see? Now there is code I'd call gold of the realm
Ah, I get it. Yah, what I wrote was only to obtain the objectives I saw in the thread, change to pointer/browse tools, put the info into the field.raugert wrote: Fri Mar 09, 2018 7:42 am The issue of switching back and forth wasn't really your code. Your code works good for getting the button parameters into a field, but then I can no longer move/size object. So I was trying to add some code to it.
I don't think your asking too much, and I'm sure it has been done before. The way I usually go is, if your code works, but you think it can be done better, go with it and stick a comment inside the block to remind yourself to revisit it.
As your experience grows, you can revise it with better methods you might think up. Insights come at peculiar times (for me anyway), not always when I'm thinking about a particular problem, and often when I think I have stopped thinking about it completely. Not sure why it happens that way, but after near 30 years of it I stopped questioning it at this point heh.
Anyway, good luck with your project