Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 752 Bytes

File metadata and controls

38 lines (30 loc) · 752 Bytes

SetHDef

Description

Procedure SetHDef replaces the definition of the referenced "container" object with a new definition. Supported object types are worksheets, symbol definitions, and layer references.

PROCEDURE SetHDef(
				oldH : HANDLE;
				newH : HANDLE);
def vs.SetHDef(oldH, newH):
    return None

Parameters

Name Type Description
oldH HANDLE Handle to object.
newH HANDLE Handle to new definition.

Examples

VectorScript

SetHDef(symbolHd,newSymDefHd);
{updates the referenced symbol with a new definition}

Python

Version

Availability: from MiniCAD6.0

Category