Maptitude GISDK Help

ReshapeLink()

Summary

Changes the coordinates of a line feature in a standard geographic file.

 

Syntax

ReshapeLink(integer ID, array line_coordinates, array options)

 

Argument Contents
ID The ID of the line to be modified
line_coordinates An array with the geographic coordinates of the current endpoints as the starting and ending coordinates, plus the geographic coordinates (if any) of the new shape points of the line feature

 

Option Type Contents
Reason String If provided, a record will be added to the database's log file, with this used as the Reason column. If it's not provided, no entry will be added, even if the other options are present.
Comment String Text for the comment field of the log file.
User String User name for the log file.

 

Notes

Error Codes

Error Type Meaning
Error The current layer is not a line layer, or is not from a standard geographic file

 

See Also

Function Summary
GetLine() Gets the coordinates that describe the location of a line feature
MoveNode() Changes the location of an endpoint feature in a standard geographic line file
DeleteLink() Deletes a line feature from a line layer
AddLink() Adds a line feature to a line layer

 

 

©2025 Caliper Corporation www.caliper.com