Linetypes not showing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
Link copied