Issue with Retrieving All Entities in Aspose CAD Version 24

Hi,

I recently upgraded my project to use Aspose CAD version 24. After the upgrade, I’ve encountered an issue where I am unable to retrieve all entities from a CAD file. When I call cadImage.Entities.Count(), it returns only 100 entities, whereas the CAD file actually contains more than 1700 entities. Upon inspecting the entities, I can see that the file indeed has over 1700 objects.
Here is a snippet of the code I’m using to load and count the entities:

using (CadImage cadImage = (CadImage)Aspose.CAD.Image.Load(fileName))
{
    var size = cadImage.Entities.Count();
}

This code previously worked with an older version of Aspose CAD. I suspect there might be a limitation or a change in the way entities are retrieved in version 24. Could you please assist me in understanding why this issue is occurring and how I can retrieve all entities correctly?
I use free licensing.
Any help or guidance would be greatly appreciated.

Thank you!

Best regards,
Abdel

@Abne,
Hello.
Yes, that’s right - you need to apply at least free license file to get all entities. Without license at all the list is limited with 100 entities.

1 Like

Thank you for your response.

@Abne,
you are welcome :slight_smile: