VS:SetHDef: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
(No difference)
|
Latest revision as of 14:37, 12 August 2013
.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