THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/04/2004 at 08:54, xxxxxxxx wrote:
Cinema 4D Version: 8.5
Platform: Windows ;
Language(s) : C++ ;
How to select points with the lasso/live selection?
I'm trying to select a point with the standard lasso / live selection but this lasso function needs GeUserArea or GeDialog.
Where can I get these from in a tool-plugin?
Or is there any better/other way to select some points?
thx in advance,
On 19/04/2004 at 16:08, xxxxxxxx wrote:
Using lasso selection in the editor requires user input. You can select points yourself using PointObject::GetPointS(). (Don't forget to send MSG_CHANGE and call EventAdd() afterwards.)
On 20/04/2004 at 00:16, xxxxxxxx wrote:
Yes, I know that I can get the selected points, but how do I get the user to select a point?
I need the user to select one point with the Lasso for example,
then the plugin stores this point,
the user selects another point which is handled in the plugin and so on...
Preselecting all points and then executing the tool is not good enogh, because i need the points in the correct order.
On 22/04/2004 at 18:00, xxxxxxxx wrote:
I guess that the current plugins that do this do it using a ToolData and implementing their own selection routines. Please chime in here if you do have a tool-like plugin that fits the description... (Per-Anders, Paul Everett?)
I think that a single stroke with live select will always be atomic, even if more than one point is selected, so if you were just to monitor selections the user would have to click more than once to select an order. You could probably do this in CoreMessage().