Select to view content in your preferred language

Match previous functionality of Export Features to Feature Class to Feature Class - Output Name missing as parameter variable

497
3
02-10-2025 02:49 PM
Status: Open
RyanBohan
Frequent Contributor

Match previous functionality of Export Features to Feature Class to Feature Class.

The Feature Class to Feature Class (deprecated) allowed dynamic Output Name using string variables, which was very useful for adding timestamps and differentiating model runs.

  • This model is run approximately every 3-6 months, and being able to have historic data automatically saved is a key component.

RyanBohan_0-1739227573742.png

 

The Export Features GP tool (replacing Feature Class to Feature Class) no longer allows model variables to be used for Output Name. This eliminates the ability to easily add timestamps to exported feature layer names.

  • While I can manually rename the exported layer, this extra step wasn't needed with the Feature Class to Feature Class tool

RyanBohan_1-1739227573834.png

 

 

3 Comments
LindsayRaabe_FPCWA

You can still use generated variables in the output name, it's just not a hardwired part of the tool because there's no separate feature class 'path' and 'name' fields. To do this, if your Calculate Value step output is called "Value", then in the output pathway of Export Features, you could enter C:\my\folder\path\my.gdb\%Value% and that will use the calculated value from that step (probably wise to set that as a precondition to the Export Features tool to ensure it has run first). 

LindsayRaabe_FPCWA
RyanBohan

Thank you @LindsayRaabe_FPCWA that did work. 

It would be a great enhancement to make the Export Features GP use of a generated Output Name a simple drag and drop as we previously could with the now depreciated Feature Class to Feature Class GP tool.