NXOpen Height of the Dimension
NXOpen Height of the Dimension
(OP)
Dear Forum,
With NXOpen, how do I get the height of a dimension, note and/or label.
Here's how I am getting the dimension object.
With NXOpen, how do I get the height of a dimension, note and/or label.
Here's how I am getting the dimension object.
CODE --> vb.net
theUFSession.Obj.CycleObjsInPart(displayPart.Tag, _
UFConstants.UF_dimension_type, dimnsn)
If dimnsn = NXOpen.Tag.Null Then
Continue Do
End If
dimObj = CType(NXObjectManager.Get(dimnsn), Dimension) 




RE: NXOpen Height of the Dimension
If so, you will need to query the dimension text lettering preferences. One example can be found here:
http://nxjournaling.com/comment/681#comment-681
www.nxjournaling.com
RE: NXOpen Height of the Dimension
How about using the askAnnotationTextBox?
CODE --> vb.net
Dim upper_left() As Double Dim length As Double Dim height As Double theUFSession.Drf.AskAnnotationTextBox(dimObj.Tag, upper_left, length, height)RE: NXOpen Height of the Dimension
www.nxjournaling.com