.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionFunction 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.
allowConflictDlg :BOOLEAN) : HANDLE;
def vs.ActSymDefN(allowConflictDlg): return HANDLE
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.
VersionAvailability: from Vectorworks 2021
See AlsoVS Functions:
[[VS:ActLayer]] | [[VS:ActiveClass]]| [[VS:ActSymDef]]