Share

acedSSDel

C++

ACCORE_PORT int acedSSDel(
    const ads_name ename, 
    const ads_name ss
);

File

acedads.h

Description

Deletes the specified entity from the specified selection set. Both the entity and selection set names must be valid for the current drawing.

Note Only entities from the current drawing's model space and paper space, not nongraphical objects or entities in other block definitions, can be deleted by this function.

Parameters

Parameters Description
ename Entity to delete
ss Selection set

Returns

Returns RTNORM if successful; otherwise, it returns an error code. When acedSSDel() fails, it sets the system variable ERRNO to a value that indicates the reason for the failure.

Previous Declaration

AutoCAD 2025 and Earlier

int acedSSDel(const ads_name ename, const ads_name ss);

Was this information helpful?