Hello,
I have been developing a PythonPart to alternately reduce the length of the longitudinal bars in precast slabs to 80% of their original length. I'm not sure whether this configuration is available natively in Allplan or if it can only be achieved through the API. I have attached a reference image.
Currently, the PythonPart recreates the longitudinal bars with the reduced length and deletes the original ones. However, the newly created bars lose the native properties of the original longitudinal reinforcement. For example, they can no longer be controlled using the visibility options for longitudinal bars, and in the drawings they appear as individual bars instead of being recognized as part of the longitudinal reinforcement.
Is there a way to create or modify these bars through the API while preserving their native behavior? I have tried to achieve this using the API, but I have not been successful. However, if I perform the same modification manually, it works, although Allplan displays a warning indicating that the basic reinforcement is locked.
I look forward to your comments.
Best regards,
Elvis