Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 716 Bytes

File metadata and controls

39 lines (30 loc) · 716 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

  • Object Editing