Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

[Question] [PythonParts] Options settings

Schlagworte:

Hello everyone!

I would like to ask you about help if anyone knows the solution.
I want to use PythonPart to:

1. Get value of polygonization in options setting (see attachement)
2. Save "Options" as a favorites .xml

Thank you in advance

Best
Tuan Anh

Anhänge (1)

Typ: image/png
49-mal heruntergeladen
Größe: 87,23 KiB

Hilfreichste Antwort anzeigen Hilfreichste Antwort verbergen

Zitiert von: Tuan_Anh
...

I want to use PythonPart to:
1. Get value of polygonization in options setting (see attachement)
2. Save "Options" as a favorites .xml


Hello Tuan Anh,
the Allplan settings regarding reinforcement can be accessed through the ReinforcementSettings class. Unfortunately, the setting you are trying to access is not exposed in this class. If you could explain your use-case a bit closer, maybe we could find a workaround.

Best,
Bart

Zitiert von: Tuan_Anh
...

I want to use PythonPart to:
1. Get value of polygonization in options setting (see attachement)
2. Save "Options" as a favorites .xml


Hello Tuan Anh,
the Allplan settings regarding reinforcement can be accessed through the ReinforcementSettings class. Unfortunately, the setting you are trying to access is not exposed in this class. If you could explain your use-case a bit closer, maybe we could find a workaround.

Best,
Bart

Hello Bart,

Thank you for your response.
I'm working on creating a PythonPart to control the options settings for all users in a Workgroup.

I think it would be better if I could import a favorites .XML file to ensure i have the desired options settings.
Is it possible to do this automatically with PythonPart?

Best regards,
Tuan Anh

Hi Tuan Anh,

Currently it is not possible using Python API. We also don't plan to implement it in the near future. This of course may change, when we notice a high interest for this kind of API functionality. For now, it is not planned.

Best,
Bart


https://campus.allplan.com/ verwendet Cookies  -  Mehr Informationen

Akzeptieren