Activate Ribbon to startup use vb.NET

Activate Ribbon to startup use vb.NET

Anonymous
Not applicable
883 Views
2 Replies
Message 1 of 3

Activate Ribbon to startup use vb.NET

Anonymous
Not applicable

HI everyone

 

I am developing add-in using. NET 2012. insert a ribbon that contains buttons that open documents. I want my application to startup display revit ribbon enabled.

 

Sin título2.png

 

 

 

I'm using this code.

 

 

Sin título.png 

 

 

but does not enable the ribbon. can someone help me with an example for Visual Basic. NET. The problem may be in the Availability class or function IsCommandAvailable

 

 

0 Likes
884 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
0 Likes
Message 3 of 3

Anonymous
Not applicable

HI Everybody.

to continue the last post, this Error displays on startup my aplication.

 

Sin título2.png

 

 

the pushbutton of my ribbon is disabled

 

Sin título3.png

 

this code contain the excelent example of Zero_Document_state suggested TeunHam.

 

Sin título.png

 

 

somebody could help me?

0 Likes