Community
When I register my addins as an external command, they are appeared in the External tools list. I use them from Pushbuttons. But I want hide them from External tools list. How can I do that?
In the manifest file (.addin) change:
<AddIn Type="Command"> to <AddIn Type="Application">
A class in your assembly will have to also implement IExternalApplication or IExternalDBApplication.
IExternalApplication used to add items to the UI that reference your IExternalCommand
IExternalDBApplication used where no access to UI features are required or permitted.
use this tag VisibilityMode in your add-in
<?xml version="1.0" encoding="utf-8" standalone="no"?> <RevitAddIn> <AddIn Type="Command"> <Text>Loose Connectors</Text> <Description>List all unconnected Revit MEP connectors</Description> <VisibilityMode>NotVisibleInArchitecture</VisibilityMode> <VisibilityMode>NotVisibleInFamily</VisibilityMode> <VisibilityMode>NotVisibleInStructure</VisibilityMode> <VisibilityMode>NotVisibleWhenNoActiveDocument</VisibilityMode> <Assembly>C:\bin\LooseConnectors.dll</Assembly> <FullClassName>LooseConnectors.Command</FullClassName> <ClientId>fc508f72-84b2-4e82-942c-ad9ec07cbe4a</ClientId> </AddIn> </RevitAddIn>
Can't find what you're looking for? Ask the community or share your knowledge.