Hello.
I am trying to create Layout window using my PythonPart.
I am using InsertDrawingFile method (in LayoutFileService) for that.
To determine which layers would be visible in Layout window method needs parameter layerList:VecIntList.
In Allplan you can choose manually:
(1) Set all to visible
(2) Use current layer setting
(3) Save fixed layer setting in layout element
In Puthonpart i can make (1) if VecIntList is Empty.
I can make (3) if i append numbers of layers i want to show.
But how can i create Layout window by PythonPart (2) - using current layer setting?
I can add to Pallete some kind of form, where User would shoose Layers he wants to show one by one. But it doesn't seem to be really User-friendly. And in that way you will see how result would look in Layout itself.
Best Regards,
Suren