Suffix for dimension - x 30¦
Suffix for dimension - x 30¦
(OP)
Hello together,
I would like to add a suffix to an existing dimension. How could I add the text "x 30°"? The problem is the "° - degree" because the journal does not accept ascii code.
Thank you
Goof
I would like to add a suffix to an existing dimension. How could I add the text "x 30°"? The problem is the "° - degree" because the journal does not accept ascii code.
Thank you
Goof
CODE -->
Sub Main()
Dim dimension As NXOpen.Tag
While select_a_dimension(dimension) = Selection.Response.Ok
Dim dimObj As Annotations.Dimension = NXObjectManager.Get(dimension)
Dim appendedText As NXOpen.Annotations.AppendedText = _
dimObj.GetAppendedText()
Dim lines(0) As String
lines(0) = "x 30°"
appendedText.SetAfterText(lines)
dimObj.SetAppendedText(appendedText)
ufs.Modl.Update()
ufs.Disp.SetHighlight(dimension, 0)
End While
End Sub 




RE: Suffix for dimension - x 30¦
RE: Suffix for dimension - x 30¦
RE: Suffix for dimension - x 30¦
And if you're using most any of the common NX fonts, such as BLOCKFONT, here are the symbols available as special characters of the font itself (note that since NX 8.0 and the introduction of support for TrueType fonts, that many of these symbols are supported as part of the normal font libraries):
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.