.NET

Reply
Contributor
derwisz6
Posts: 21
Registered: ‎11-23-2009
Message 1 of 3 (141 Views)

Leader and arrowhead

141 Views, 2 Replies
04-02-2013 05:58 AM

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

*Expert Elite*
Hallex
Posts: 1,569
Registered: ‎10-08-2008
Message 2 of 3 (120 Views)

Re: Leader and arrowhead

04-02-2013 09:40 AM 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
Valued Mentor
DiningPhilosopher
Posts: 370
Registered: ‎05-06-2012
Message 3 of 3 (97 Views)

Re: Leader and arrowhead

04-03-2013 06:19 PM 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.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.