I am trying to perform 'arcpy.Spatial Design Network Analysis.sDNAPrepare' command using ArcGIS Notebook on ArcGIS Pro (ver. 2.7.1). However, I have failed to run the command.
What is the problem and What should I do?
import arcpy
arcpy.ImportToolbox(r"D:/sDNA/sDNA.pyt")
arcpy.Spatial Design Network Analysis.sDNAPrepare(r"C:/Users/14009/Desktop/shanghai_sdna/shanghai_sdna_test/shanghai_network_center/shanghai_network_center.shp", r"C:/Users/14009/Desktop/shanghai_sdna/shanghai_sdna_test/sdna_prepare_test/prepare_test.shp", None, None, "REPAIR", True, False, True, True, True, None, '', '', '', '', '', '')
-------------------------------------------------------------------
SyntaxError Traceback (most recent call last)
File C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\ast.py, in parse:
Line 50: return compile(source, filename, mode, flags,
SyntaxError: invalid syntax (<string>, line 3)