Consulting

Results 1 to 5 of 5

Thread: Could we record VBA code from AutoCAD?

  1. #1
    VBAX Regular
    Joined
    Mar 2007
    Location
    Taipei
    Posts
    15
    Location

    Could we record VBA code from AutoCAD?

    As we know, when we don't know how to write some code at Excel VBA, we can use "Record Macro" and see how the code is, it's very simple and easy. But it seems can't do it at AutoCAD mode. Is it any way to get the code by "Record Macro"?

  2. #2
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    Short answer is no....vba is a suplimentary program for autocad bought by cad and incorporated. I think there are some commercial programs if you search for them that add that functionality to some degree but have no personal knowledge of them...


    I googled autocad macro recorder and found lots of listings...I have downloaded this one to try. Do some research on your own and we will report our findings here for others....
    http://www.xanadu.cz/en/download.asp?file=recorder
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  3. #3
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    I was able to load and run it but could not get any results from it...
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  4. #4
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    actually it does work but it only records one operation.....
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  5. #5
    VBAX Regular
    Joined
    Mar 2007
    Location
    Taipei
    Posts
    15
    Location
    Thanks! Now I know there's no easy way for AutoCAD VBA code written...

    Regards,
    Robert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •