Product.deleteEntities Method

Parent Object: Product
Defined in namespace "adsk::core" and the header file is <Core/Application/Product.h>

Description

Deletes the specified set of entities that are associated with this product.

Syntax

"product_var" is a variable referencing a Product object.
returnValue = product_var.deleteEntities(entities)
"product_var" is a variable referencing a Product object.

#include <Core/Application/Product.h>

returnValue = product_var->deleteEntities(entities);

Return Value

Type Description
boolean Returns True if any of the entities provided in the list were deleted. If entities were specified that can't be deleted or aren't owned by this product, they are ignored.

Parameters

Name Type Description
entities ObjectCollection An ObjectCollection containing the list of entities to delete.

Version

Introduced in version January 2017