Hi,
I would like to ask, Is there any method or API to get the placement points of any rebar in AllplanReinf.BarPlacement?
Thank you!
- Forum
- CAD Parametric Modelling
- PythonParts
Retrieve the position of the bar in AllplanReinf.BarPlacement [Gelöst]
Lösung anzeigen Lösung verbergen
Hi,
if you are talking about getting the position from an existing rebar placement, this is possible since Allplan 2025. We are about to publish an article about it in the online documentation. It should happen within days. Applying the Placement matrix read with GetPlacementMatrix() on the BendingShape polyline will give you the polyline of the first rebar in the placement. Subsequent rebars can be reproduced by translating the first shape polyline by the DistanceVector
Best,
Bart
Hi,
if you are talking about getting the position from an existing rebar placement, this is possible since Allplan 2025. We are about to publish an article about it in the online documentation. It should happen within days. Applying the Placement matrix read with GetPlacementMatrix() on the BendingShape polyline will give you the polyline of the first rebar in the placement. Subsequent rebars can be reproduced by translating the first shape polyline by the DistanceVector
Best,
Bart
Thanks, I really appreciate this