Limitation

    private void btnClicked1(object sender, RoutedEventArgs e)
    {
        OpenFileDialog openFileDialog = new OpenFileDialog();

        openFileDialog.Filter = "DWG Files|*.dwg";
        openFileDialog.Title = "Select a DWG File";

        if ((bool)openFileDialog.ShowDialog())
        {
            LoadOptions loadOptions = new LoadOptions();
            loadOptions.SpecifiedEncoding = CodePages.Korean;

            using (CadImage cadImage = (CadImage)Image.Load(openFileDialog.FileName, loadOptions))
            {
                foreach (var cadEntityBase in cadImage.Entities)
                {
                    GetProperty(cadImage, cadEntityBase);
                }
            }
        }
    }

Are there any restrictions on the number of objects in an cadImage.Entities due to licensing limitations?

@qor5457,
Hi.
There is a limit for 100 entities without any license, you can try temporary license to evaluate the product and see the entire Entities collection.

1 Like