Support Forum

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
8-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