Rotation

Discussion in 'AutoCAD' started by Kumar, Mar 2, 2004.

  1. Kumar

    Kumar Guest

    Hi everybody,
    I have a drawing object made of lines. I want to rotate full drawing as one object to particular angle using VBA automatically.
    I tried to use rotate method, but i don't know how can I select full drawing using VBA. Like in command line,if I click CtrA, it select all point and just provide base point and rotation angle, you can rotate your drawing.

    How can I select full drawing using VBA??

    Regards
     
    Kumar, Mar 2, 2004
    #1
  2. Kumar

    Mark Propst Guest

    ' assuming you have a selection set
    SelSetObj (As AcadSelectionSet)

    'set selection mode
    Dim mode As Integer
    mode = acSelectionSetAll
    'do the selection
    SelSetObj.Select mode
     
    Mark Propst, Mar 2, 2004
    #2
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.