Parse Path with feature class path

3435
6
Jump to solution
04-20-2015 08:43 AM
XingboChen
New Contributor III

I tried to make a model that helps calculating coordinate error between two measurements and I've already made that work. Then I wanted to make the model more easier for some of my colleagues to use, so I tried to use Parse Path tool to make all features output in the same path with the input feature. And I got it work too, but only in the modelbuilder not in the tool interface. Run it in the tool interface, I only got output features in blue rectangle (feature class to feature class tool) and output features in red rectangle (feature vertices to points tool and spatial join tool) never showed as pictures below and I still got the RIGHT result.

So I'm asking if anyone know why this happens and how to fix this, please!

QQ截图20150420193150.jpg

QQ截图20150420233310.jpg

QQ截图20150420233340.jpg

QQ截图20150420233348.jpg

QQ截图20150420233355.jpg

QQ截图20150420233401.jpg

QQ截图20150420233836.jpg

0 Kudos
1 Solution

Accepted Solutions
SepheFox
Frequent Contributor

I think what you're saying is that the outputs from those tools were not retained. Check that each data variable is not set to intermediate data by right clicking it and making sure "intermediate" is not checked. By default, model builder sets these intermediate steps to be deleted when run from outside the model builder window.

ArcGIS Desktop

View solution in original post

6 Replies
SepheFox
Frequent Contributor

I think what you're saying is that the outputs from those tools were not retained. Check that each data variable is not set to intermediate data by right clicking it and making sure "intermediate" is not checked. By default, model builder sets these intermediate steps to be deleted when run from outside the model builder window.

ArcGIS Desktop

View solution in original post

XingboChen
New Contributor III

That works, thank you so much! And could you also help me with dialog box setting, may I set dialog parameters empty like system tools?

0 Kudos
SepheFox
Frequent Contributor

Which dialog boxes? The tools themselves? Are you wanting to make the parameters user-defined?

0 Kudos
XingboChen
New Contributor III

QQ截图20150422000059.jpg

This is the tool dialog I made through modelbuilder after double-click, it has already had all parameters pre-set, but I want them to be empty as system tools dialogs.

0 Kudos
SepheFox
Frequent Contributor

All the inputs with a P next to them in your model are your parameters. Open those tools from the model, and delete any inputs in the dialog box. This will make your model builder turn white, as though not ready to be run, but when you open the model as a tool and assign the parameters in that dialog, it will run fine.

0 Kudos
XingboChen
New Contributor III

Thank you again, I just got everthing worked out!