icon

Support Forum

[Frage] Stirrup cage PythonPart -Drawings

Schlagworte:
  • Precast
  • Beam

Hello,

I have developed a reinforcement PythonPart for precast slabs. I understand that Allplan already has a standard stirrup cage tool; however, in our case, we need to define several different spacings within the same cage, instead of using only one uniform spacing as provided by the standard tool.

Currently, the PythonPart correctly groups all the reinforcement elements as an assembly group, and everything works properly in the model. However, when generating the drawings, the name of the assembly group does not appear. Instead, the individual bar numbers are shown.

I would like to ask whether there is a way to automatically display the assembly group name in the drawings, without having to do this manually.

I look forward to your comments.

Best regards,
Elvis

Anhänge (2)

Typ: image/png
30-mal heruntergeladen
Größe: 10,26 KiB
Typ: image/png
24-mal heruntergeladen
Größe: 11,52 KiB

Hello Elvis,

can you please post a drawing file with the generated PythonPart (without sharing the PythonPart itself and it's code). I'd like to better understand, how you create the reinforcement.

Best regards,
Bart

Hi Bart,

Sure, The stirrup cage PythonPart works as follows: first, a reference precast slab is selected in order to obtain the position with respect to the Z-axis. Then, by selecting two points (start and end), the stirrup cage is generated inside the precast slab. It is an Interactor-type PythonPart, so once created it is possible to modify various parameters such as width, length, bar diameter, steel type, concrete covers, and especially the different stirrup spacings.
The issue I am running into appears in the fabrication drawings. When Allplan's native stirrup cage is used, it is identified as a single assembly, showing the cage name (for example, JE1, shown in the first image shared in this thread) along with its corresponding reinforcement, made up of the longitudinal bars and the stirrups. However, in the case of the PythonPart, although the reinforcement is generated correctly, in the fabrication drawings it is not recognized as a single assembly. Instead, an individual breakdown of each bar is shown with its respective position number.
Our intention is for the PythonPart to behave in the same way as the native stirrup cage — that is, to be identified and labeled as a single reinforcement group, while internally keeping all the bars that make it up. I have tried grouping all the bars using an assembly group, but the result in the fabrication drawings is still the same, showing each bar individually instead of the complete assembly.
This is particularly important because a single precast slab can contain several stirrup cages. If each one is broken down into all its individual bars within the fabrication drawings, the identification of the assemblies and the rebar assembly process on the precast production plant would become chaotic.
For this reason, I would like to know whether there is any way for a PythonPart containing reinforcement to be treated and identified as a single reinforcement assembly, similar to Allplan's standard stirrup cage. Likewise, I would like to know whether there is any workflow, Precast functionality, or possibility within the API that allows this same behavior to be achieved in the fabrication drawings.

I look forward to your comments.

Best regards,
Elvis

Anhänge (2)

Typ: image/png
14-mal heruntergeladen
Größe: 57,30 KiB
Typ: application/pdf
7-mal heruntergeladen
Größe: 88,46 KiB

Hi,

Reinforcement made with a PythonPart can be "grouped" into a MWS Cage

Here an example

Best
Christophe

Anhänge (2)

Typ: image/png
10-mal heruntergeladen
Größe: 140,23 KiB
Typ: image/png
9-mal heruntergeladen
Größe: 15,94 KiB