To tidy up the Plugins Index here it is again.
I have relinked the original posts back to here too...
Here's the original thread http://forums.sketchucation.com/viewtop ... 59#p147559
It turns Selected Lines into Instances of a Selected Component...
Usage:
Put this file into 'Plugins' folder.
Open a Model.
Place Components and Lines...
Select an Instance of the required Component, and
at least one Line (Edge)***.
Pick 'Lines2Components' from the 'Plugins' Menu.
If the Selection doesn't contain Edges or an Instance
an error dialog tells you...
You are prompted for the 'Scaling': None/Z/XYZ.
***The Z-height (blue) of each Line relative to the Z-
height of the required Component sets the 'Scaling'.
One by one the Lines are turned into Instances of the
required Component, Scaled to suit.
Any Scaling is about the Instance's insertion point.
The Instance's insertion point is taken to be the lower
of the Line's ends.
Unless the scaling is set to 'None' 'flat' Lines
(equal Zs) are not used, then the insertion point is
the Line's 'start'...