Search found 5 matches
- 10 Jan 2023, 18:39
- Forum: CAD .NET
- Topic: Support for ExtendedData
- Replies: 13
- Views: 25263
Re: Support for ExtendedData
Does the Editor support ExtendedData? I'd like to attach a name to an entity, such as a polyline.
- 18 May 2018, 18:47
- Forum: CAD .NET
- Topic: CreateImageByExtension Exception
- Replies: 2
- Views: 12361
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.
- 18 May 2018, 17:51
- Forum: CAD .NET
- Topic: CreateImageByExtension Exception
- Replies: 2
- Views: 12361
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...
- 19 Sep 2016, 22:49
- Forum: CAD .NET
- Topic: Iterating through entities and extraction of color values
- Replies: 3
- Views: 22499
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...
- 19 Sep 2016, 19:57
- Forum: CAD .NET
- Topic: Iterating through entities and extraction of color values
- Replies: 3
- Views: 22499
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...