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
Properties
Id
id of this row in the callout
public int Id { get; }
Property Value
IgnoreValue
Gets or sets whether to ignore the callout value in the given row.
public bool IgnoreValue { get; set; }
Property Value
Label
Gets or sets the text for the label in the specified row of this callout1
public string Label { get; set; }
Property Value
Target
sets or gets the target for this row
public Tuple<double, double, double> Target { get; set; }
Property Value
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
Value
Gets or sets the value in for the specified row in this callout.
public string Value { get; set; }
Property Value
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
Events
OnTargetChanged
fired when Target of this row changes
public event EventHandler<CalloutRowTargetChangedEventArgs> OnTargetChanged
Event Type
OnValueChanged
invoked by solidworks when user changes the value of this row
public event EventHandler<string> OnValueChanged
Event Type
Remarks
true to update the callout and false to not. this event is useful for input validation