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

I cannot add a Hyperlinks value,Why?

2 REPLIES 2
Reply
Message 1 of 3
WangYanbin
336 Views, 2 Replies

I cannot add a Hyperlinks value,Why?

BlockReference bref =new BlockReference(pt,id);
HyperLink hl =new HyperLink();
hl.Description = code;
hl.Name=code;
hl.SubLocation = code;
bref.Hyperlinks.Insert(0,hl);
bref.Hyperlinks.Add(hl);
btr.AppendEntity(bref);
tm.AddNewlyCreatedDBObject(bref, true);
myT.Commit();

This code .i can insert a block,but i can't get the hyperlinks value.I use Autocad and VS.net2003.

Thanks!
2 REPLIES 2
Message 2 of 3
WangYanbin
in reply to: WangYanbin

I use Autocad2006 and vs.net2003.
Thanks a lot!
Message 3 of 3
WangYanbin
in reply to: WangYanbin

Any one can help me ???

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