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

How can i find idenctical pythonparts elements? [Gelöst]

Schlagworte:
  • Allplan
  • 2023
  • PythonParts
  • Visual
  • Script

Hi,

I create pythonpart elements in visual script. (3d geometry element)

If I would like to modify several elements, how can i see which are the same elements?
Is it possible to filter and mark the same pythons?

Thank you!
David

Anhänge (1)

Typ: image/png
10-mal heruntergeladen
Größe: 4,20 KiB

Lösung anzeigen Lösung verbergen

Hello David,

as PythonParts are saved as smart symbols (macro) in the data base, the same mechanism is used to recognize identical PythonParts as it is used for the recognition of identical smart symbols. Therefore you can use the function Replace Smart Symbol, Smart Part. When the window appears (see attached) mark the option Add identical objects. When you now select a PythonPart, also other identical PythonParts are highlighted.

Unfortunately now it's not possible to highlight identical PythonParts during the modification, as it is the case with SmartParts. But maybe we will introduce this feature in the future, as it might be very useful.

Anhänge (1)

Typ: image/png
10-mal heruntergeladen
Größe: 2,83 KiB

Hello David,

as PythonParts are saved as smart symbols (macro) in the data base, the same mechanism is used to recognize identical PythonParts as it is used for the recognition of identical smart symbols. Therefore you can use the function Replace Smart Symbol, Smart Part. When the window appears (see attached) mark the option Add identical objects. When you now select a PythonPart, also other identical PythonParts are highlighted.

Unfortunately now it's not possible to highlight identical PythonParts during the modification, as it is the case with SmartParts. But maybe we will introduce this feature in the future, as it might be very useful.

Anhänge (1)

Typ: image/png
10-mal heruntergeladen
Größe: 2,83 KiB