how to change the text format of a drawing

how to change the text format of a drawing

anavazquez5LRNJ
Enthusiast Enthusiast
149 Views
0 Replies
Message 1 of 1

how to change the text format of a drawing

anavazquez5LRNJ
Enthusiast
Enthusiast

I don't know if anyone has tried or has any idea of what is the syntax to change the formatting of the text in the drawing, this is my code and how I would like it to appear after formatting.

Dim Sheet_1 = ThisDrawing.Sheets.ItemByName("Pag2:2") 'Sheet Name
Dim genDims = Sheet_1.DrawingDimensions.GeneralDimensions
Dim VIEW6 = Sheet_1.DrawingViews.ItemByName("VIEW6") ' View Name 
Dim VIEW2 = Sheet_1.DrawingViews.ItemByName("VIEW2")
Dim VIEW3 = Sheet_1.DrawingViews.ItemByName("VIEW3")
Dim DWG_FrameA = VIEW6.GetIntent("DWG_AnchoFrameA")
Dim DWG_FrameB = VIEW6.GetIntent("DWG_FrameB")

Dim linDim1 = genDims.AddLinear("Botom", VIEW6.SheetPoint(1, 1.30), DWG_FrameA, DWG_FrameB)

 currently it is seen that this way

anavazquez5LRNJ_1-1663788023411.png

how I would like it to look, I want to put the text inside the lines.

anavazquez5LRNJ_2-1663788114787.png

 

@A.Acheson @JelteDeJong 

 

0 Likes
150 Views
0 Replies
Replies (0)