Hello,
We are using MicroStation CONNECT Edition Update 16.
Does anyone know where I could change these settings using C#:
userPrefsP->maxRefFiles = 250; userPrefsP->refFilePrefs.defaultStoreCompletePath = 1; userPrefsP->moreFlags.refLocateDef = 1; userPrefsP->moreFlags.refSnapDef = 1;
Thank you,
Kevin
Hi Kevin Ho,
Jon is correct that you should consider updating your code to either set default attachment variables for uniform results with or without your custom application, or call respective .NET Attachment methods, or lastly continue to use/set update (remaining) User Preference access strings - in the order just mentioned. I added a Migrating User Preference topic hopefully that helps you find the best option to use when migrating code in this area.
Jon Summers,
Thank you and wrt .NET and MDL resource methods, working with resource files is very limited in scope to essentially only providing two primary areas:
If additional/specific functionality is needed; C++/CLI should be considered and/or submitting a MicroStation Programming Idea to add the functionality to the product.
HTH,Bob
Answer Verified By: Kevin Ho