Hi
I try to get a list of symbols in a specific symbol folder on the active document. I searched the script reference and the internet. It sould be possible by using:
id, number = vs.BuildResourceList(16, -1, foldername)
But the result is always an empty list. All positive index values works but lists all symbols in all folders. I can't find out, what I am doing wrong.
Would be fantastic if anyone can help. The following script, do what I want (not finally, it's just a test, the aler
PyCharm. But not integrated any vs modules ... handy to check those intents.
To keep it alive. The working result:
A simple script to paste all symbols of a folder on the active layer. The idea is to enlarge it sometime with text of the symbol name or making layers for every symbol folders to get a nice, printable preview of all symbols. I think code could be still more reduced and optimized.
def placesymb(name,x,y,spalten):
reihen=num/spalten
vs.Symbol(name,x,y,0)
return()
symid = vs