Message 1 of 2
PointOnSheet of GeometryIntent to DocumentUnitsPoint2d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
i need help again to set a point for a balloon.
The point pt1.y should be on Y of the PointOnSheet of GeometryIntent. And x should have a little offset.
In other words: The balloon should be placed with a horizontal offset to the point where the arrow is attached to.
But the corrdinate system of GeometryIntent.PointOnSheet() are different to ANSICHT1.SheetPoint()
But maybe I'm going about this wrong?
In this code i have ignored the required x offset, but the balloons are placed somewhere out of the sheet
Dim MidR As GeometryIntent
MidR = ANSICHT1.GetIntent({"AA0005:1", oOccurrence.Name }, "KanteR",intent := PointIntentEnum.kMidPointIntent)
Dim pt1 = ANSICHT1.SheetPoint(MidR.PointOnSheet.X, MidR.PointOnSheet.Y)
Dim balloon1 = Blatt_1.Balloons.Add("balloon", {pt1}, MidR)
regards Andreas