Hello,
I have created a model that clips DEM data to my selected parcel boundary to output "Contours_Layer" and "Slope_Symbolized". I have them set as parameters.
This model will ultimately be used in different projects. The goal would be to use the model without having to manually type in the file paths of the current project I am in.
Is it possible to set the file path for "Contours_Layers" and "Slope_Symbolized" to the current geodatabase?
I tried using "default.gdb" "%CurrentWorkspace%\" but recived the following error message: 000875: <value>: <value>'s workspace is an invalid output workspace.
What is the correct way to set the output of my parameters to the current workspace?
I believe in arcpy the proper syntax is as follows:
import arcpy
aprx = arcpy.mp.ArcGISProject("CURRENT")
Unless I were to add a script into the model, I doubt the syntax above is the same for model builder.
Thank you in advance!