Outputs:
Sources: A polygon and a polyline datasets

Resulting points

| Expression | Explanation |
|---|---|
| Function Name | PointIntersection |
| <input dataset> | A String representing the input layer. Must be of Polyline type. |
| <reference dataset> | A String representing the reference layer. Must be of Polyline or Polygon type |
| <output dataset> | A String - the full name of the output layer. |
| {TransferSourceAtt} | A Boolean indicating whether the attributes of the source layer to be transferred to the resulting points. |
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")
| Language | Syntax |
|---|---|
| Python | subprocess.call([ETGWPath, "PointIntersection", "input dataset", "reference dataset", "output dataset", "TransferSourceAtt"]) |
| .NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "PointIntersection" "input dataset" "reference dataset" "output dataset" "TransferSourceAtt" |
| .NET using ETGWOutX.dll | PointIntersection(input dataset,reference dataset, output dataset, TransferSourceAtt) |
| ArcPy | arcpy.PointIntersection(input dataset, reference dataset, output dataset, "TransferSourceAtt") |
Notes:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.