WRDEntity2017::DuplicateEntity (open)

Duplicate a WRD entity, and optionally attachments / links

Syntax

LOADLIB "mod::wrd/lib/internal/wrdentity.whlib";

OBJECT FUNCTION DuplicateEntity(RECORD options)

Parameters

RECORD options

Options

recursetypes

Attachments and link types to recurse into

updates

Update the duplicated entity with these values

Return value

OBJECT

Duplicated entity