This was working fine but problems started to occur on certain files. The y scale was being used for the rotation value and the rotation value was being used for the first attribute value. On investigation I found that the blocks in these files had been set to uniform scale.
Is there a way I can change the uniform scale for the block before invoking the insert command or checking for uniform scale and running different insert commands depending on the result of the check?
I have tried running a tblsearch on the block with it set uniformly and non uniformly and cannot find a difference. I have also checked the codes on the block insertions by running (entget (car (entesl)) in both files but cannot find a difference.