|
|
Defines a new command in the GUI system
Namespace: Autodesk.Navisworks.Api.Plugins
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _ Public NotInheritable Class CommandAttribute _ Inherits Attribute |
| C# |
|---|
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)] public sealed class CommandAttribute : Attribute |
| Visual C++ |
|---|
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)] public ref class CommandAttribute sealed : public Attribute |
Remarks
This Attribute can be applied to CommandHandlerPlugin.
Used to add a Command into the system. See the 'CustomRibbon' example for more information.