Table of Contents

Class CalloutRow

Namespace
Hymma.Solidworks.Addins
Assembly
Hymma.Solidworks.Addins.dll

a row in a CalloutModel

public class CalloutRow
Inheritance
CalloutRow
Inherited Members

Constructors

CalloutRow(string, string)

constructor

public CalloutRow(string label, string value)

Parameters

label string

assign a label for this row

value string

the value of the row

Properties

Id

id of this row in the callout

public int Id { get; }

Property Value

int

IgnoreValue

Gets or sets whether to ignore the callout value in the given row.

public bool IgnoreValue { get; set; }

Property Value

bool

Label

Gets or sets the text for the label in the specified row of this callout1

public string Label { get; set; }

Property Value

string

Target

sets or gets the target for this row

public Tuple<double, double, double> Target { get; set; }

Property Value

Tuple<double, double, double>

Remarks

soldiworks internal unit is meter

TextColor

Gets or sets the color of the text in the specified row in this callout.

public SysColor TextColor { get; set; }

Property Value

SysColor

Value

Gets or sets the value in for the specified row in this callout.

public string Value { get; set; }

Property Value

string

ValueInactive

Gets or sets whether the user can edit the value in the specified row in this callout.

public bool ValueInactive { get; set; }

Property Value

bool

Events

OnTargetChanged

fired when Target of this row changes

public event EventHandler<CalloutRowTargetChangedEventArgs> OnTargetChanged

Event Type

EventHandler<CalloutRowTargetChangedEventArgs>

OnValueChanged

invoked by solidworks when user changes the value of this row

public event EventHandler<string> OnValueChanged

Event Type

EventHandler<string>

Remarks

true to update the callout and false to not. this event is useful for input validation