Returns or changes the overridden state of a field of a child dimension style. A child dimension styles is created when a dimension style, assigned to a dimension object, is overridden.
Rhino.DimStyleFieldOverride (strDimStyle [, dblOffset])
strDimStyle |
Required. String. The name of an existing dimension style. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dblOffset |
Optional. Number. The field of the dimension style.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
blnOverride |
Optional. Boolean. Override the field. |
Number |
If an offset is not specified, the current extension line offset if successful. |
Number |
If an offset is specified, the previous extension line offset if successful. |
Null |
If not successful, or on error. |
Dim strDimStyle, blnFont
strDimStyle = Rhino.GetString("Dimension style to reset font")
If Rhino.IsDimStyle(strDimStyle) Then
If Rhino.IsDimStyleChild(strDimStyle) Then
blnFont = Rhino.DimStyleFieldOverride(strDimStyle, 15)
If (blnFont = True) Then
Rhino.DimStyleFieldOverride strDimStyle, 15, False
End If
End If
Else
Rhino.Print "The dimension style does not exist."
End If