Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Activate Ribbon to startup use vb.NET

2 REPLIES 2
Reply
Message 1 of 3
marcosmateo
787 Views, 2 Replies

Activate Ribbon to startup use vb.NET

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

 

 

2 REPLIES 2
Message 2 of 3
TeunHam
in reply to: marcosmateo
Message 3 of 3
marcosmateo
in reply to: TeunHam

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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community