Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
basically i run a routine now looping a selection set of polylines adding
a text at each geometrical center.
This is the issue I encounter.
In case the Startpoint of the i-th polyline is closer to
the geometrical center of an adjacent polyline, the text will of course appear inside the wrong polyline.
I was thinking of defining a new point based on the bounding box of the i-th polyline.
Yet up till now I'm not able to solve this programming quest myself.
Does someone have a suggestion on how to make this work?
Thank you.
(while (< i j)
(setq pl_i_name (ssname ss i))
(setq pl_cen (osnap (vlax-curve-getStartPoint pl_i_name) "gcen"))
(setq i (1+ i))
)
Solved! Go to Solution.