Select to view content in your preferred language

What the input for GPLine datatypes look like

07-11-2019 08:21 AM
New Contributor


I'm writing a small script that takes a GPLine type as the input parameter for a tool, which is then converted into a polyline later on. The description for the datatype is "A shape, straight or curved, defined by a connected series of unique x,y-coordinate pairs" but I am unsure what this should look like.

Would anyone be able to provide an example of what the input for this parameter type should look like?

paramClickLine = arcpy.Parameter

   displayName="Click Line",


I've attached the parameter above, with it's datatype. Apologies if this is the incorrect formatting of code in posts, as it is my first time posting here.

Kind regards,


0 Kudos
0 Replies