How To - Rotate with User Interaction

Discussion in 'AutoCAD' started by GTVic, Sep 16, 2004.

  1. GTVic

    GTVic Guest

    I have a number of objects to rotate via VBA. The objects are already identified as is the center of rotation.

    But I want the user to pick the final rotation angle on screen and be able to view the highlighted objects rotating and the rubber band line connecting to the base point as he moves the mouse around.

    So I guess I want to start the ROTATE command and automate the selection of the objects and the base point selection and then the user will see the last prompt which is "Specify rotation angle or [Reference]: "

    I know I can start the command with .SendCommand "ROTATE" but I'm not sure how I would pass the selection set to the command line or if there is a better way to accomplish all this
     
    GTVic, Sep 16, 2004
    #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.