View Full Version : A quick question...

01-20-2011, 10:15 AM
How does one have lScript set the selection mode (Point/Edge/Polygon)?

I've a script that selects the end point of a spline (which works nicely), but one has to manually change to point selection mode after it runs to work with the selected point. Is there a way to do this in lScript?

I was thinking it was a CommandInput thing, having tried various entries from the LW9M. cfg file, but I've had no joy. Help?


01-21-2011, 11:27 AM
A Reply will be unnecessary, as I have puzzled it out.

This little bit of lscript did the necessary trick...
(Posted here for others who might have the same question...)


(pnts is an array holding the ID values of the selected points)

This toggled the selection mode to points, and selected the necessary points. I had to go digging in the SDK documentation for the clue that led me to try this. Similiar wording should be added to the lscript docs to make this more clear.