VS:SetHDef

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


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

oldH HANDLE Handle to object.
newH HANDLE Handle to new definition.

Example

VectorScript

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

Python


Version

Availability: from MiniCAD6.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox