icon

Support Forum

[Frage] Associative View Element - Reinforcement view


Hi, is there a example of creating a Associative view?
There is a class of "Associative View Element" but sadly a can't get how to use it.

All examples i found use "ViewSectionElement", but on current job we only use Reinforcement views.

In more detail: i need to create Reinforcement view of element in model. User runs Pythonpart - chooses some elements - script creates views

Thank you

Hi,

Are you trying to create the old reinforcement views which were replaced with Unified Views and Sections a while ago? I think this is no more possible with Allplan Python API. There was an example AssoFromWallInteractor where the class AssociativeViewElement was used. It was indeed representing the old Reinforcement views and sections. But it does not work anymore as these views were replaced with Unified Views and Sections (short UVS). The representation of a UVS (both section or view) is the class ViewSectionElement.

Is there a particular reason, why you don't want to use UVSs? Maybe there is a solution I can offer to you, but you have to step back and explain the problem from a wider perspective.

Best,
Bart