AnsweredAssumed Answered

ArcGIS Pro 2.3 - How to truncate feature class with Calculate Value in ModelBuiler?

Question asked by Vincenty on Feb 26, 2019
Latest reply on Feb 27, 2019 by Vincenty

Hi,

I am using Calculate Value in Model Builder in ArcGIS Pro 2.3 in order to truncate a feature class full name and keep only the feature class name.

 

The following piece of code do not work. It looks like Python is not parsing my inline variable because there is some backslash \ character...

where "fullPath" is the in-line variable I am passing in and the backslash \ is to truncate the feature class proper name to the rest of the path

Outcomes