.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Leader and arrowhead

2 REPLIES 2
Reply
Message 1 of 3
derwisz6
298 Views, 2 Replies

Leader and arrowhead

Does anybody know how to set leader arrow head like "_dot".

 

I have:

 

  Using acTrans As Transaction = acData.TransactionManager.StartTransaction()
                '' Open the Block table for read
                acBlkTbl = acTrans.GetObject(acData.BlockTableId, OpenMode.ForRead)
                acBlkTblRec = acTrans.GetObject(acBlkTbl(BlockTableRecord.ModelSpace), OpenMode.ForWrite)
                Dim lead As Leader = New Leader()


                lead.SetDatabaseDefaults()
                lead.AppendVertex(New Point3d(l_poi(0), l_poi(1), 0))
                lead.AppendVertex(New Point3d(l_poi(2), l_poi(3), 0))
                lead.HasArrowHead = True


                'lead.Dimldrblk = "_DOT"

 

                lead.Dimasz = 45
                lead.Dimscale = 1
                lead.Dimclrd = Color.FromRgb(255, 0, 63)
                lead.Layer = "flashing"
                lead.LinetypeScale = 1
                acBlkTblRec.AppendEntity(lead)
                acTrans.AddNewlyCreatedDBObject(lead, True)
                acTrans.Commit()
                acTrans.Dispose()
            End Using

2 REPLIES 2
Message 2 of 3
Hallex
in reply to: derwisz6

Try this code, not sure about if this will be work with your settings

http://www.acadnetwork.com/topic-254.msg451.html#msg451&gsc.tab=0

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Message 3 of 3
DiningPhilosopher
in reply to: Hallex

The site you're pointing others to requires them to register in order to do nothing more than view the contents,.

 

No thanks.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost