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

DrawJig: how to make the WorldDraw SubEntities linetype regen always?

0 REPLIES 0
Reply
Message 1 of 1
volen921
412 Views, 0 Replies

DrawJig: how to make the WorldDraw SubEntities linetype regen always?

for example:
////////////////////////////////.......
protected override bool WorldDraw(WorldDraw draw)
{
WorldGeometry wg = draw.Geometry as WorldGeometry;
draw.SubEntityTraits.LineType = Tools.GetLinetypeID("HIDDEN2");
draw.SubEntityTraits.LineTypeScale = dScale * Tools.GetViewSize()/oldViewSize;
if (wg != null)
{
wg.WorldLine(new Point3d(100, 0, 0), _position);
wg.Ray(new Point3d(0, 0, 0),_position);
}
return true;
}
/////////////////////////////
is anybody know how to let the line or ray's linetype regen always?
thank you!
best wishes!
0 REPLIES 0

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