Results 1 to 2 of 2

Thread: Revit Architecture 2009 VSTA Macro Manager Bug?

  1. #1
    100 Club FWSchreck's Avatar
    Join Date
    Login to Give a bone

    Default Revit Architecture 2009 VSTA Macro Manager Bug?


    I've been creating document-level macros with Revit Architecture 2009. After saving and successfully building the applications, they do not show up in the Macro listing. When I save the Revit project, then re-open it, the macros are not there. Sometimes, macros that have been deleted reappear in the application listing.

    The VSTA documentation states that document-level macros are imbedded within the Revit project.

    Is anyone else experiencing this problem? If so, do you have a solution?
    Last edited by fred.3541; 2009-03-13 at 06:39 PM. Reason: clarification

  2. #2
    Join Date
    Login to Give a bone

    Default Re: Revit Architecture 2009 VSTA Macro Manager Bug?

    I had the same trouble and it took me forever to figure it out! Make sure that after you do your code that you do F5(build) then save. If code does not pass the Build function it will not load in macro manager! Then what I did was Delete one of the sample macros from the macro list. Revit should give you a prompt back verifying that you want to delete it thats ok. Then the screen blinks refreshing the list. When you pick again on 'Doc CSharp' it should refresh the list showing your macro. It seems to ONLY refresh the list when you use the 'delete' button. Autodesk was no help because i emailed support on my end and they refer you to the help manual which says nothing of this bug!! There are bugs in the macro manager! If this doesn't work, create a new sample macro project and start over. Hope this helps. This is what I do know.

Similar Threads

  1. CP222-2: Autodesk Revit VSTA: Writing Your First Macro An Introduction to the Macro Manager
    By Autodesk University in forum Customization and Programming
    Replies: 0
    Last Post: 2014-12-01, 02:12 AM
  2. can't create VSTA MACRO Revit 2013
    By avzalingen811374 in forum Revit - API
    Replies: 0
    Last Post: 2012-09-25, 11:19 AM
  3. Initialize Macro in VSTA
    By ckc.mike in forum Revit - API
    Replies: 1
    Last Post: 2011-12-08, 11:54 PM
  4. Revit architecture macro VSTA tutorial
    By hhhnzw in forum Revit - Tutorials
    Replies: 0
    Last Post: 2011-06-05, 11:56 AM
  5. Share VSTA macro's? Or build them in Visual Studio?
    By nicholas.hendrickx in forum Revit - API
    Replies: 2
    Last Post: 2009-05-19, 08:04 AM

Posting Permissions

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