1

I've made a simple model in ModelBuilder, which is failing at the first step saying the name has invalid characters.

The failing tool is Copy Features:

enter image description here

The error is:

Executing (Copy Features): CopyFeatures "Geofabric Surface Network - V2.x\AHGFCatchment" in_memory\temp123 # 0 0 0
Start Time: Wed Mar 29 17:01:20 2017
ERROR 000354: The name contains invalid characters
ERROR 000354: The name contains invalid characters
ERROR 000354: The name contains invalid characters
Failed to execute (Copy Features).
Failed at Wed Mar 29 17:01:20 2017 (Elapsed Time: 0.22 seconds)

enter image description here

The output name in_memory\temp123 doesn't use any strange characters or bad words.

The input name was selected from the dropdown of layers available in the MXD: enter image description here

The three 0 in the tool parameters are defaults and recommended by Arc.

I'm running this tool with some data selected from two layers - the purpose is to extract just the selected data to continue working on it.

What should I try next?

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Mar 29, 2017 at 6:51
0

2 Answers 2

1

From its documentation Copy Features:

Copies features from the input feature class or layer to a new feature class.

but you appear to be choosing a layer file instead.

answered Mar 29, 2017 at 7:59
2
  • I think this is from an open ArcMap session and the layer file is in a group layer in TOC. Commented Mar 29, 2017 at 22:51
  • @fatih_dur You are probably right - perhaps the asker can edit their question to include the properties that they have set on that parameter. Commented Mar 29, 2017 at 22:58
1

It turns out that Arc didn't like the group layer name containing a . in '2.x'.

Renaming the group layer in the list of layers in ArcMap (not renaming on disk or in Catalogue) allowed to the tool to run.

answered Apr 1, 2017 at 11:09

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.