Value Label
value-label
can be used to change the value label of a component. value-label
can also specify the location, size, orientation, etc. of the value label of a component.
You can set the value-label of a component by setting value-label(my-component)
equal to a Text
object. This Text
object takes a string, text size, anchor location (N
, E
,S
, or W
), and the pose (loc
) that specifies where to place the value label of the component.
Example usage
; name the test point,
value-label(my-component) = Text("my-component-value", 1.0, W, loc(1.2, 0.0))