- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Helo to everyone.
If i want to embed a line to plyline, i have to use filet, that will embed it to an edge of the polyline, cutting the polyline if needed.
I need a code wich will embed it to a med point, like a nail sticking out the polyline.
Here is the description.
1. If selection not exists, asks for user selection.
2. From the selection gothers one pair (the first found) of A::: a polyline B:: a line that has acommon point with the line.
3. After the code execution line does not exist and polyline has two more vertices added at the position of the common point (the first is the other and second the commot).
example :
polyline : 1,2,3,.... N, N+1,n+2,...pEnd Vertices Count = pNend
Line N, Pout
After code execution
Edited polyline : 1,2,3,.... N, Pout, N, n+1,n+2,...pEnd Vertices Count = pNend + 2
Regards
Gery
Solved! Go to Solution.