RelatedCommandAttribute

Namespace: Digi21.DigiNG.Plugin.Command
Assembly: Digi21.DigiNG.Plugin

Specifies the name of a command related to the command implemented by the class. A class can have several RelatedCommand attributes.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class RelatedCommandAttribute : Attribute

In version 26.0.0, Digi3D.AI does not read this attribute: it does not affect command registration or execution.

Constructors

public RelatedCommandAttribute()

Creates the attribute with Name set to null.

Properties

Property Description
string Name { get; set; } Related command name.

Example

The CommandAttribute example relates MIDE_DISTANCIA_2D to MIDE_DISTANCIA.