Locking and editability of the parts
The AutoSnap is a mechanism that allows you to magnetize the Parts between them, facilitating the insertion and / or displacement.
In addition, it guarantees the positioning in a similar manner at the AutoCAD OSNAP 's mechanism.
If you want that the mechanism work, is necessary to provide for the Parties, that will be used, a block in the point where you want that there is Snap. Each time the user will move a Part, if into them will be found a Snap block, will act a magnet with the nearest Snap found at design.
When the distance between the Part that is move and the nearest Snap get off under the minimum threshold (definable by the user), the Part will be magnetized doing so that the 2 blocks coincide like a angle and rotation.
The AutoSnap mechanism can be disabled thanks to button that is located bottom right.