We are building and sharing SmartComponents, but they currently have paths in the XML files which are user local. We want to replace them by “%LocalAppData%\ABB\DistributionPackages” but, when compiling, it seems to convert these paths into “C:\Program Files (x86)\ABB\RobotStudio 2022\ABB Library\Components%LocalAppData%\ABB\DistributionPackages”.
Is there any way for it to properly use the existing environment variables when expanding these paths?
In this case, the “%ABBLIBRARY%”
However, we have some SmartComponents built by us that also use other components built by us. In these case, the XML is usually something like this:
We have tried that, but it does not work, it also is unable to process environment variables. Of course we can change it to the full path of the current user, but we were looking for a more streamlined process.
So, is there any way how we can refer to modules which are not in the RobotStudio installation, but on a users’ folder, such as “%LocalAppData%\ABB\DistributionPackages\SistemaVisao.rslib”?