Harness proD API Help
EPLAN.Harness.API.DataStructures.RapidPrototypes Namespace / RapidLightDefinition Class
Members Example
In This Topic
    RapidLightDefinition Class
    In This Topic
    Definition of the rapid prototype light.
    Object Model
    RapidLightDefinition ClassLengthProperty Class
    Inheritance Hierarchy

    System.Object
       EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition
          EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidLightDefinition

    Syntax
    public class RapidLightDefinition : RapidSpecialComponentDefinition 
    Remarks
    Use to create rapid prototype light with a different definition than the default definition in the project settings.
    Example
    This example shows how to create light definition with custom color, size and pin name prefix.
    RapidLightDefinition definition = new RapidLightDefinition();
    
    definition.Color = Color.Aqua;
    definition.PinNamePrefix = "prefix";
    definition.Size = new LengthProperty(10, Unit.Millimeter);
    Public Constructors
     NameDescription
    Public Constructor Create an instance of rapid light definition.  
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets pin color of the rapid prototype special component. (Inherited from EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition)
    Public Property Gets or sets pin count of the rapid prototype special component. (Inherited from EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition)
    Public Property Gets or sets pin name prefix of the rapid prototype special component. (Inherited from EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition)
    Public Property Gets or sets size of rapid prototype special component. (Inherited from EPLAN.Harness.API.DataStructures.RapidPrototypes.RapidSpecialComponentDefinition)
    Top
    See Also