Support Forum

[Frage] InsertDrawingFile - Layers Visibility


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

Anhänge (1)

Typ: image/png
22-mal heruntergeladen
Größe: 24,14 KiB

Hilfreichste Antwort anzeigen Hilfreichste Antwort verbergen

Hi Suren,

The bad news is, that these options are missing. The good news is, that we are currently working on exposing functionalities related to print layouts. Can you tell us, what other functionalities of a Layout window are not available?

Best regards,
Bart

Hi Suren,

The bad news is, that these options are missing. The good news is, that we are currently working on exposing functionalities related to print layouts. Can you tell us, what other functionalities of a Layout window are not available?

Best regards,
Bart

Hi,

For the layout functionalities, can we :

1) insert some layers with for each a list of layer to be visible
2) force pen, stroke, color or fill
3) check the good orientation of the text ?

Best
Christophe

Anhänge (1)

Typ: image/png
30-mal heruntergeladen
Größe: 40,06 KiB

Hi Christoph,

thanks for the input! I was not aware of the subordinating of pen, stroke, color and fill.

Best,
Bart

Zitiert von: bmarciniec
Hi Suren,
The bad news is, that these options are missing. The good news is, that we are currently working on exposing functionalities related to print layouts. Can you tell us, what other functionalities of a Layout window are not available?
Best regards,

Bart


Thank you for consultation

For other functionalities, would be usefull to rename files in Layout. Create folders, add files to folders etc..