BUG: Setting Rotation property in BlockRef object rotates about wrong axis when in paper space

Discussion in 'AutoCAD' started by Dmytro Medvedenko, Jul 18, 2003.

  1. The following bug appeared in AutoCAD 2000,2002:
    Setting Rotation property in BlockRef object rotates about wrong axis when
    in paper space

    Steps to reproduce:
    1. Set BlockRef = PaperSpace.InsertBlock
    2. Call
    BlockRef.Normal = {0,1,0},
    BlockRef.Rotation = 3.1415926535898
    3. See the block reference has rotated about Z axis of paper WCS instead of
    BlockRef.Normal

    The workaround is using ObjectARX AcDbBlockReference::setRotation().
    Be careful!
    Dmytro Medvedenko
     
    Dmytro Medvedenko, Jul 18, 2003
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.