Hi Arek - I am trying to make it easier when the user is inputting a parameter. I would like the default location for other named datasets being created point to the same directory.
So for example the user has
1) Project Workspace parameter
2) Analysis Output location
So the user sets their project workspace and then sets the name of the output location however since I am using a data type of Raster Dataset with an output direction, the parameter wants to use the current workspace set by the tool as the default location if a user just inputs a name. Additionally the browser dialog which opens points to the last workspace a dataset was written to which can also be different. I just want them both to point to the users selected workspace by default.
I have attached an image which may make more sense. So in the image, the user selected test.gdb as their project workspace and then just typed in New which defaulted to creating the dataset in the Default.gdb (current workspace of tool) and then to make things even more convoluted if the user clicks to open a dialog they are being directed to the NewSetup.gdb which was one used by them most recently. If I click on the Environments button on the tool and then change the current workspace the default output location is the current workspace set. It just seems like I should be able to do this through code once the user selects their workspace. I guess I could just set warnings if the location of the output is in a different workspace than what the user selects.
Thanks, jim
[ATTACH=CONFIG]19379[/ATTACH]