Procedure DeleteSymbolDefinition deletes the referenced symbol definition from the document. If bCompletely is TRUE, all corresponding symbol instances will be deleted completely; otherwise, the symbol instances will be replaced with loci.
PROCEDURE DeleteSymbolDefinition(
hSymDef : HANDLE;
bCompletely : BOOLEAN);def vs.DeleteSymbolDefinition(hSymDef, bCompletely):
return None| Name | Type | Description |
|---|---|---|
| hSymDef | HANDLE | Handle to the symbol definition. |
| bCompletely | BOOLEAN | Determines whether to replace the corresponding symbol instances with loci or delete the instances completely. |
DeleteSymbolDefinition(hSymDef, TRUE);import vs
# Procedure DeleteSymbolDefinition deletes the referenced symbol definition
# from the document.
hSymDef = vs.GetObject('MySymbol') # handle to a symbol definition
bCompletely = True
vs.DeleteSymbolDefinition(hSymDef, bCompletely)Availability: from Vectorworks 2011