This paper proposes the identification of the B-H curve of anisotropic magnetic laminations in the direction normal to the sheet surface. An automated procedure for linking an identification algorithm implemented in a Matlab environment with a commercial finite-element code Opera for 3-D magnetic field analysis has been used. In particular, an optimization procedure is proposed, where the computation time is reduced by adjusting the refinement of the FEM mesh. The use of a multiprocessor computer allowed to perform parallel computations and to realize the calculation in a reasonable time. The finite element mesh density is changed during operation of the procedure depending on the level of magnetic flux density difference between calculation and measurements.