Help insert block 3d rotate

hi
i have big problem
the workflows is :
. get coordinates from 2d block (see the first picture)
. insert 3d block at coordinate got from 2d block
but now it placed the block like the first picture but i need as the second pitcure, i means make a 3D rotation.
everyone has an idea ?
thank for your help


image001(1)

See if these help

olalalalala your are the best of the best,

thank you very much

hi
last night , i tried but i fail , the 3d blocks are in the wrong place.

attached some pictures for illustrations ,

image001(3)