PostableCommand Issues

PostableCommand Issues

Anonymous
Not applicable
433 Views
1 Reply
Message 1 of 2

PostableCommand Issues

Anonymous
Not applicable

A number of PostableCommands do not seem to be working properly.  I'm using Revit 2014 UR3.  An example macro:

		public void PostMyOwnCommand()
        {
            Application app = this.Application;
            UIApplication uiApp = new UIApplication(app);
            uiApp.PostCommand(RevitCommandId.LookupPostableCommandId(PostableCommand.PlanRegion));

        }

When running this in a plan, the ribbon flashes and then nothing happens.  Also PostableCommand.TypeProperties does nothing as well even when an element such as a Wall is selected.

 

The following don't work properly either, although they work when placing multiple instances but if you try to place one instance it won't stay:

PostableCommand.Area      PostableCommand.BuildingElevation     PostableCommand.ColorFillLegend

 

I have not tested in Revit 2015 yet.  Thanks.

0 Likes
434 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Also, if you try PostableCommand.Camera it works great until you hit Esc after the new view is created and Revit completely crashes.
0 Likes