Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Linetypes not showing

tamara
Advocate
Advocate

Linetypes not showing

tamara
Advocate
Advocate

Hello,

my problem is one of the everlasting problems of AutoCAD users. Searching for a solution I have found that this problem dates far back to 2007., an probably even before. I found many questions related to it but not quite a solution.  Linetypes are not showing until I do REGENALL of the dwg thorough command line.

 

I have tried using all sorts of graphic flushes in my code (C#): 

  acDoc.TransactionManager.EnableGraphicsFlush(true);
                        acDoc.TransactionManager.QueueForGraphicsFlush();
                        db.TransactionManager.QueueForGraphicsFlush();
                        Autodesk.AutoCAD.Internal.Utils.FlushGraphics();

but nothing works. Only thing that does work is REGENALL command in AutoCAD, and the next thing I will try is to call it from my code using

doc.SendStringToExecute("REGENALL ", true, false, true); 

 Any suggestions please? 

 

Best regards,

Popovic Tamara

0 Likes
Reply
321 Views
0 Replies
Replies (0)