Delete Entity by its handle

Discuss and ask questions about CADEditorX and XML API.

Moderators: SDS, support, admin

Post Reply
MuhammadSulaiman
Posts: 3
Joined: 16 Jul 2020, 13:11

Delete Entity by its handle

Post by MuhammadSulaiman » 16 Jul 2020, 15:23

Hello,

After opening a DXF, I have an entity of certain type with handle="$25", I want to delete that entity..

I use the following syntax:

<?xml version="1.0" encoding="utf-8"?>
<cadsofttools version="2">
<select Handle="$25" Marker="True"/>
<delete/>
</cadsofttools>

But it says "Object with handle $25 can not be removed".

Is there any way to delete certain entity given its handle?

Best.

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Delete Entity by its handle

Post by support » 17 Jul 2020, 19:31

Hello,

Could you please specify a type of this entity?

Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply