Results 1 to 9 of 9

Thread: Action Recorder save as to VB or C#

  1. #1
    Wish List Administration
    Join Date
    2011-08
    Posts
    4,581

    Default Action Recorder save as to VB or C#

    Summary: Allow saving Action Recorded macros to VB or C#.

    Description: Allow saving Action Recorded macros to VB or C#. This would allow quicker customization and give developers a jump start on creating customizations with .NET

    Product and Feature: AutoCAD - API

    Submitted By: Kevin Kosak on Mon, 23 Apr 2012


  2. #2
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095

    Default Re: Action Recorder save as to VB or C#

    dotNET is pretty complex, and I suspect the Action Recorder storage mechanism is much closer to conventional scripting. I'd rather see it produce an XML metadata file describing the steps taken, plus (possibly) an Action Recorder API for dotNET for more complex manipulation. That way the XML content can be consumed by other operations, including LISP and manual tweaking and possibly even direct consumption by the new core console, and also be available from common network locations (unlike DLL; yes, I know about CASPOL but poking holes in the security for the sake of convenience isn't a good idea).

  3. #3
    Member
    Join Date
    2000-11
    Location
    St. Paul, MN
    Posts
    3

    Default Re: Action Recorder save as to VB or C#

    What I was referring to would be something similar to what MS Office has called "Record Macro". "Record Macro" currently records to VBA format, which I beleive is considered obsolete. So, the next generation of such a utility seems to me would be to record to .NET VB or C#. Keep in mind users would not have to modifiy the .NET code but could.

  4. #4
    Wish List Administration
    Join Date
    2011-08
    Posts
    4,581

    Exclamation Re: Action Recorder save as to VB or C#

    Action Recorder save as to VB or C#

    Summary: Allow saving Action Recorded macros to VB or C#.

    Description: Allow saving Action Recorded macros to VB or C#. This would allow quicker customization and give developers a jump start on creating customizations with .NET

    Product and Feature: AutoCAD - API

    Submitted By: Kevin Kosak on Tue, 12 Jun 2012


  5. #5
    Woo! Hoo! my 1st post
    Join Date
    2015-10
    Posts
    1

    Default Re: Action Recorder save as to VB or C#

    Hi, That is a big wish for me as well. I need to automate things in CAD, but I have to record them first.

  6. #6
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719

    Default Re: Action Recorder save as to VB or C#

    Quote Originally Posted by dgorsman View Post
    dotNET is pretty complex, and I suspect the Action Recorder storage mechanism is much closer to conventional scripting. I'd rather see it produce an XML metadata file describing the steps taken, plus (possibly) an Action Recorder API for dotNET for more complex manipulation. That way the XML content can be consumed by other operations, including LISP and manual tweaking and possibly even direct consumption by the new core console, and also be available from common network locations (unlike DLL; yes, I know about CASPOL but poking holes in the security for the sake of convenience isn't a good idea).
    Not a big fan of this wish personally, as there's just too much variation of namespace qualification (within the body of code), etc to be 'usable' to my mind, and would entirely go against Autodesk's efforts to 'push' apps via Exchange.

    That said, regarding local/network assemblies - if you're still using .NET 4 (as I believe 4.5 supports this inherently, but have not intentionally tested for this since C3D 2011), just use LoadFromRemoteSources Attribute as Kean mentions here back in 2011:

    http://through-the-interface.typepad...ith-net-4.html


    Cheers
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  7. #7
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095

    Default Re: Action Recorder save as to VB or C#

    'Tis the season for necromancy

    Need to have DLLs local here, otherwise if any computer is running some of them would be locked "open" by the system and couldn't be replaced. Can't go around to computers to manually kick people out as we have multiple buildings across the city.

  8. #8
    Wish List Administration
    Join Date
    2011-08
    Posts
    4,581

    Exclamation Re: Action Recorder save as to VB or C#

    Action Recorder save as to VB or C#

    Summary: Allow saving Action Recorded macros to VB or C#.

    Description: Allow saving Action Recorded macros to VB or C#. This would allow quicker customization and give developers a jump start on creating customizations with .NET

    Product and Feature: AutoCAD - API

    Submitted By: kpkosak on 04/23/2012


  9. #9
    Wish List Administration
    Join Date
    2011-08
    Posts
    4,581

    Exclamation Re: Action Recorder save as to VB or C#

    Action Recorder save as to VB or C#

    Summary: Allow saving Action Recorded macros to VB or C#.

    Description: Allow saving Action Recorded macros to VB or C#. This would allow quicker customization and give developers a jump start on creating customizations with .NET

    Product and Feature: AutoCAD - API

    Submitted By: kpkosak on 04/23/2012


Similar Threads

  1. What do you use Action Recorder for?
    By mountpelepele in forum AutoCAD Action Recorder
    Replies: 37
    Last Post: 2017-10-10, 09:19 PM
  2. AU304-4: How to Get the Most Out of the Action Recorder
    By Autodesk University in forum AutoCAD
    Replies: 0
    Last Post: 2014-11-17, 05:33 AM
  3. 2012: Action Recorder and MTEXT
    By hwright185206 in forum AutoCAD Action Recorder
    Replies: 1
    Last Post: 2013-12-13, 05:23 AM
  4. add command in action recorder
    By e.mounir in forum AutoCAD Action Recorder
    Replies: 1
    Last Post: 2010-03-15, 08:25 PM

Posting Permissions

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