Hot answers tagged

2

Simple typo. s.addFeatures(f); Should be s.addFeatures([f]); As you only created a single feature.


1

@JasonBK @jasonbk The CreateMapSDDraft method used in this sample asks for a {folder_name} parameter that was setted to None, so by default it points to root level (see below). If you want to use a sub folder you must specify this instead of None, so in the sample you will use something like this: analysis = arcpy.mapping.CreateMapSDDraft(mapDoc, sddraft,...



Only top voted, non community-wiki answers of a minimum length are eligible