DDeleted

1225
1
Jump to solution
08-17-2012 07:47 AM
JoshTownsend
New Contributor II

Deleted

0 Kudos
1 Solution

Accepted Solutions
curtvprice
MVP Esteemed Contributor
  how do I do the same thing for Current Workspace outputs that I want to keep, %currentworkspace% does not work?


The variable names are the same as those used in python (arcpy.env)

In this case the current workspace is %workspace%.

Though, in practice the usual way to do this is to let the user specify where the outputs go by exposing the output model elements as output parameters. When the user runs the model, the outputs paths will fill in at the current workspace, just like with other tools.

View solution in original post

0 Kudos
1 Reply
curtvprice
MVP Esteemed Contributor
  how do I do the same thing for Current Workspace outputs that I want to keep, %currentworkspace% does not work?


The variable names are the same as those used in python (arcpy.env)

In this case the current workspace is %workspace%.

Though, in practice the usual way to do this is to let the user specify where the outputs go by exposing the output model elements as output parameters. When the user runs the model, the outputs paths will fill in at the current workspace, just like with other tools.
0 Kudos