View Full Version : Brand new to LScript....question.

10-01-2007, 01:36 PM
I have wanted to do some LScript programming in the past. I am familiar with some Javascript. A bit more PHP and more recently ASP.

My question is how difficult would it be to make an lscript that allowed the user to select a POLYGON and then begin selecting other POLYGONS they wanted the original POLYGONS surface to be copied to.

It's a feature found in AutoCAD, for copying object properties. Mainly line weight and layer.

Thanks for any input, or direction.

10-01-2007, 02:33 PM
Scripts aren't interactive, but what you could do is get the surface of the first polygon the user has selected, and apply that to all the other polys the user selected after that. So he'd pick one poly, then some more, and then run your script. You might want to check out my web page, I have a link to up to date lscript docs in the plugins section.