I'm writing a "copy" application. I use axlSelect to select the object. Then axlSelect to get a reference pin and put the objects on the cursor using axlDynamicsObject. At this point both rotate and mirror are supported. When rotating I use axlEnterAngle to get the the angle, say 270, and then set axlSetDynamicsRotation to 270. Everything looks fine. Now I select the new origin (pin) for the rotated objects, using axlSelect.
The objects are placed correctly but the dynamic objects on the cursor pop back to the original 0 degree rotation. But they are only visually rotated back to 0. If I place them again they are placed at the 270 degree rotation.
Anybody understands what's going on?
Never mind. I figured out why it's happening, seems there might be a bug with the command. In other to understand the state of the objects at various pieces of the code I was printing the status of things like mirror, angle, xy etc. In the copy function I had a print statement with axlSetDynamicsRotation (axlMsgPut "angle %L" (axlSetDynamicsRotation nil)). This should simply return the dynamic angle, but apparently it is resetting the angle as well.