datatipCreate
Create a datatip on a polyline by program
Syntax
datatip_handle = datatipCreate(polyline_handle,index) datatip_handle = datatipCreate(polyline_handle,pt)
Arguments
- polyline_handle
A handle on a polyline
- index
The index of a polyline data point where to draw the data tip.
- pt
A vector with 2 or 3 elements, the coordinates of the point where to draw the data tip.
- datatip_handle
The handle on the newly created entity
Description
This function can be used to create datatips on a polyline by program. Called with an index as second argument, it sets the tip at the coordinates given by polyline point specified by the index. Called with a point as second argument it sets the tip at the coordinates corresponding to the orthogonal projection of the point on the polyline if the interpolation mode is on or to the nearest mesh point.
Examples
See also
- datatips — Tool for placing and editing tips along the plotted curves
- datatipMove — Move a specified datatip using the mouse.
Report an issue | ||
<< Datatips | Datatips | datatipGetEntities >> |