So, there is a VI (SetSymbols.VI), buried in the following location under your LabVIEW root directory: <root>\resource\plugins\Utility\IfDef.llb. This VI allows one to set symbols on a ProjectItem reference. So, as long as you have programmatic access to the ProjectItem you want to set symbols on, you can programmatically set symbols!