Search found 5 matches

by dredgehqdev
10 Jan 2023, 18:39
Forum: CAD .NET
Topic: Support for ExtendedData
Replies: 13
Views: 24280

Re: Support for ExtendedData

Does the Editor support ExtendedData? I'd like to attach a name to an entity, such as a polyline.
by dredgehqdev
18 May 2018, 18:47
Forum: CAD .NET
Topic: CreateImageByExtension Exception
Replies: 2
Views: 12286

Re: CreateImageByExtension Exception

I forgot to register my license for CAD.NET. CAD import was trying to show the registration dialog and caused a cross-threading issue. This should be fixed in CAD.NET, though. The demo version should support asynchronous code.
by dredgehqdev
18 May 2018, 17:51
Forum: CAD .NET
Topic: CreateImageByExtension Exception
Replies: 2
Views: 12286

CreateImageByExtension Exception

I'm getting an exception when calling CreateImageByExtension CADImport.CADImage cadImage = CADImage.CreateImageByExtension(filename); System.InvalidOperationException: 'Cross-thread operation not valid: Control 'MainForm' accessed from a thread other than the thread it was created on.' I'm calling C...
by dredgehqdev
19 Sep 2016, 22:49
Forum: CAD .NET
Topic: Iterating through entities and extraction of color values
Replies: 3
Views: 22407

Re: Iterating through entities and extraction of color value

My original problem was that the color returned from the API is transparent black (ARGB(0,0,0,0)), but CAD.NET Editor was listing the color as White. So, I assumed that the entity was not using a local color, but the default color (which also happened to be white). So, what would be the cause of the...
by dredgehqdev
19 Sep 2016, 19:57
Forum: CAD .NET
Topic: Iterating through entities and extraction of color values
Replies: 3
Views: 22407

Iterating through entities and extraction of color values

I'm using CAD.NET in C#. I'm importing DWG and DXF files as follows: cadImage = CADImport.CADImage.CreateImageByExtension(fileName); if (cadImage != null) { cadImage.LoadFromFile(fileName); for (int index = 0; index < cadImage.Layouts.Count; index++) { CADImport.CADLayout layout = cadImage.Layouts[i...