Function ActSymDefN returns a handle to the currently active symbol.
If the active symbol is not in the active document, it will be imported, unless there is a conflict and the allowConflictDlg parameter is set to FALSE. After being imported, the imported symbol will be returned.
FUNCTION ActSymDefN(allowConflictDlg : BOOLEAN): HANDLE;def vs.ActSymDefN(allowConflictDlg):
return HANDLE| Name | Type | Description |
|---|---|---|
| allowConflictDlg | BOOLEAN | Whether to show a conflict dialog if the active symbol is not in the active document, and a conflict would need to be resolved to import it. If there is a conflict and allowConflictDlg is set to FALSE, ActSymDefN will return NULL. |
HandleToActiveSym:=ActSymDefN(TRUE);VS Functions: ActLayer | ActiveClass | ActSymDef
Availability: from Vectorworks 2021