Record history

why if I change the LineType from the property menu is fine

if I use the command SetLinetype it is lost record history?

I can use a script to change LineType without blocking history?

edit: excuse me, this happens when I use SetLinetype on an Offset Curve.
but is it normal for that to happen?