-
Scripting: get solids folder from preferences
Hi I need to figure out what the current projects solids folder is set to.
I can get the default solids folder from the preferences:
alert(app.preferences.getPrefAsString(‘Template Project’, ‘New Project Solids Folder’, PREFType.PREF_Type_MACHINE_INDEPENDENT));But it is the project specific folder I need. I dont know the section or key name to look for, and if it is machine_specific that would have this value?
I’ve also tried some of these variations without success:
if(app.project.item(1) instanceof SolidsFolder) {
alert(“yup”);
}Hope someone can help! Thanks Jorgen