Hello

trying to create Drawing using my PythonPart
Using method InsertDrawingFile

It works fine, but when i change rotationAngle parameter, it starts to move clipped Layuot window depending on size of Drawing file

For example i have a code:

lay_file_serv.InsertDrawingFile(self.document,
[self.file[index]],
AllplanGeo.Point2D(0, 0),
-90,
50,
AllplanGeo.Point2D(-21000, 0), AllplanGeo.Point2D(8600, -21000),
layer_list,
1,
True,
AllplanGeo.Point2D(0, 0),
self.drawing_minmax)

I use it on Drawing (there is nothing in drawing file except title block) and it works correctly (Pic1)

But when i add some other elements to the drawing file it moves Clipped window (whereever). When i Explode Layuot window, Drawing in the correct position and at correct angle (Pic2 - 3rd part) so the problem is just a Clipping. It changes position of Clipped window depending on size of Drawing file. But this never happens at Rotation Angle = 0
What can i do about this?

Attachments (2)

Type: image/png
Downloaded 7 times
Size: 11,60 KiB
Type: image/png
Downloaded 8 times
Size: 20,80 KiB