I wish to "append" (>) another library path to the MS_DGNLIBLIST variable within my MVBA.
1.I can use the following but it replaces the value. How can I append a value please?' Reset value of configuration variable pathActiveWorkspace.AddConfigurationVariable "MS_DGNLIBLIST", "C:/Documents and Settings/All Users/Application Data/Bentley/Microstation/08.11.07.443/EE_WORKSPACE/WS_Standards/Standards/dgnlib/PrintStyles/ZS_PrintStyles_PORT_LEGACY_GREY.dgnlib"2.I also wish to use a variable for part of the path name than hardcode it? ' Append a value to the configuration variable pathActiveWorkspace.AddConfigurationVariable "MS_DGNLIBLIST" > "$(_EE_STANDARDS)DGNLIB/PrintStyles/ZS_PrintStyles_PORT_LEGACY_GREY.dgnlib"' Workspace Variables used' _EE_STANDARDS = C:/Documents and Settings/All Users/Application Data/Bentley/Microstation/08.11.07.443/EE_WORKSPACE/WS_Standards/Standards/Cheers, Colin
1. The answer was easy; store the existing value in a temporay variable and then add to the path. Then re-assign the new value back into the configuration variable.
However, Even though I can confirm the MS_DGNLIBLIST has a new path to search, it doesn't seem to include the new Print Style DGNLIBs unless I close the DGN file and re-open it again?
2. Still not sure how to do this?