@Sandervp wrote:
....
I've got a lot of lines in my drawing. Every line has got another angle. Because of this I need to my Snapangle very often using 2 points.
Is there a way to change the snapangle by selecting the line only instead of using 2 points?
....
Here's my routine for that -- AlignSnapAng.lsp. It contains two commands: AS, which only Aligns the Snap angle with the object, and ASB, which does that and also sets the SNAPBASE System Variable to a relevant point [varying depending on object type]. It works with many more entity types than just Lines [read the comments at the top]. In some cases the effect will be similar to UCS OBject, but in some cases different [for example, on an Ellipse, AS aligns the Snap angle to be tangent at the point of selection].
I am also attaching HatchOriginalBase.lsp, which is used by ASB when you select a Hatch pattern, to get the SNAPBASE setting at the origin from which that Hatch pattern was generated. If you wouldn't use it that way, you can not bother with that file, and could even remove the Hatch possibility from that command.
Kent Cooper, AIA