You can just go to the document configuration menu and select the right
modules.
I can't tell you the exact text because I use lyx in spanish, but it should be
something like:
Document -> Document options
Modules
Number figures in sections
Using that LyX will do everything and you won't need to
Great!!!
It worked, thank you very much!
I just changed chapter to section (using article) and now its all right!
Thanks a lot!
I'd change your preamble to:
\usepackage[ngerman]{babel}
\addto\captionsngerman{
\renewcommand{\figurename}{Abb.}
\renewcommand{\tablename}{Tab.}
}
\renewcommand{\thefigure}{\arabic{section}.\arabic{figure}}
\@addtoreset{figure}{chapter}