Hi
I'm trying to create a rotated vie but have a big problem. When I create the View "non rotated" everythig is fine. But when I try to rotate the View via twistangle the Viewcenter is wrong.
Here is my Code
Dim tAF As New DatabaseServices.Viewport
tAF.ViewCenter = midpnt
tAF.CenterPoint = AfCenterPoint
tAF.Width = AFWitdth
tAF.Height = AFHeigth
tAF.ViewHeight = imgHeigt
Dim LayIDAF As DatabaseServices.ObjectId = ISHAcTools.createLayer(ta, doc.Database, "MANSFEN")
tAF.LayerId = LayIDAF
tAF.TwistAngle = ImgCom.Rotation
tLayoutBlDef.AppendEntity(tAF)
ta.AddNewlyCreatedDBObject(tAF, True)
Can anybody tell me where the problem is?
thx
sincerly