POST
|
Hi again Scott, I have tried to follow your ideas. The model works perfectly on my machine, but there is still problems when switching to another user. The scratch for ArcGIS is defined under Geoprocessing / Envrioments... / Workspace: In my model I call for the scratch geodatabase by using the inline variable %scratchworkspace% or %scratchGDB%. It seems like both variants are accepted. However, when the other user tries the same, the model writes scratch data in windows temp directory in Shape format. ----- ERROR 000229: Cannot open C:\windows\system32\EnskildVag_GrupperaLinjer1.dbf Failed to execute (Dissolve). Failed at Wed Jan 25 15:10:03 2017 (Elapsed Time: 0,01 seconds) Failed to execute (Model323). Failed at Wed Jan 25 15:10:03 2017 (Elapsed Time: 30,15 seconds) ----- This causes my model to stop functioning in further processing. It seems like it does not find the geodatabase to write in, and therefore writes in Shape format in the windows directory. Why is this? Regards, Mats
... View more
01-26-2017
05:10 AM
|
0
|
0
|
2411
|
POST
|
Thank very much! This was very helpful. I will try this. I might get back to you with more questions.
... View more
01-24-2017
03:56 AM
|
1
|
0
|
2411
|
POST
|
I am trying to run a Modelbuilder model from ArcMap catalogue (ie. not inside Modelbuilder). In the modeI I have defined workspaces for current and scratch workspaces as model parameters (not connected, but as standalone model variables). I call upon these parameters using inline variables (%xxxx%). Also, in the environment for the model I have defined the parameters for current and scratch workspaces as inline variables. However, when I run the model from catalogue level, I get error messages in reference to paths to workspace. When opening the model in edit mode, I notice that the defined paths to workspaces has changed. It now contains my default workspace in addtion to my inline variable, as defined for ArcMap. I need to have workspaces transparent to the ArcMap installation (the model will need to be run from other ArcMap installations - other users), not needing to go into the model and correct the paths before each execution. I cannot accept having hard coded paths for workspace and scratch. How do I configure my model so that my paths not will be changed by ArcMap default configuration? I am working on ArcMap 10.3. Best regards, Mats
... View more
01-24-2017
01:31 AM
|
1
|
5
|
4406
|
POST
|
I am trying to run a Modelbuilder model from ArcMap catalogue (ie. not inside Modelbuilder). In the modeI I have defined workspaces for current and scratch workspaces as model parameters (not connected, but as standalone model variables). I call upon these parameters using inline variables (%xxxx%). Also, in the environment for the model I have defined the parameters for current and scratch workspaces as inline variables. However, when I run the model I get error messages in reference to paths. When re-open the model I notice that paths to workspaces has changed. It now also contains information on my default workspace as defined for ArcMap. I need to have workspaces transparent to the computer running the model (the model will need to be reached from other computers), not needing to go into the model and correct the paths before execution. I cannot accept having hard coded paths for workspace and scratch. How do I configure my model so that my paths not will be changed by ArcMap default coonfigurations. I am working on ArcMap 10.3 Best regards, Mats
... View more
01-23-2017
05:12 AM
|
0
|
0
|
545
|
POST
|
I am trying to run a Modelbuilder model from ArcMap catalogue (ie. not inside Modelbuilder). In the modeI I have defined workspaces for current and scratch workspaces as model parameters (not connected, but as standalone model variables). I call upon these parameters using inline variables (%xxxx%). Also, in the environment for the model I have defined the parameters for current and scratch workspaces as inline variables. However, when I run the model I get error messages in reference to paths. When re-open the model I notice that paths to workspaces has changed. It now also contains information on my default workspace as defined for ArcMap. I need to have workspaces transparent to the computer running the model (the model will need to be reached from other computers), not needing to go into the model and correct the paths before execution. I cannot accept having hard coded paths for workspace and scratch. How do I configure my model so that my paths not will be changed by ArcMap default coonfigurations. I am working on ArcMap 10.3 Best regards, Mats
... View more
01-23-2017
02:28 AM
|
0
|
0
|
868
|
Title | Kudos | Posted |
---|---|---|
1 | 01-24-2017 01:31 AM | |
1 | 01-24-2017 03:56 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|