HatchPatterns
Comments
-
Couldn't you use a .GetFiles (with subdirectories) on each split (";") of the search path to collect all .PAT files and parse them for pattern names? That way you would even pick up user added patterns.
0 -
Hi Terry,
.GetFiles is just a windows search in the support directory?
Thanks,
Petra0 -
Directory.GetFiles is the .NET Directory function, pass it each of the paths in the support path after splitting on ";"
Application.GetSystemVariable("ACADPREFIX")
Remember that each .PAT file can contain multiple pattern names starting with an asterisk like "*GRAVEL".
0 -
Thanks a lot!
0
This discussion has been closed.