sectionFiber - zi, Ai
Posted: Fri Jan 17, 2025 11:39 am
Hi, I want to create or change the parameters of a fiber section using Python. How can I assign the corresponding values of zi, yi, and the fiber area to an already created section? The intent is to automate the process of entering these fiber parameters for a calibration. I also attach the STKO model: there will be the fiber section with ID=87 that will be composed of 120 fibers. The section was created manually. What do I do if I want to change the parameters of that section using a Python script and without having to manually change the section?
I tried to write a script to add a single fiber with Python but it still gives me errors.
Script: see folder down
---------------------------------------------------------------------------------------------------
TERMINAL:
Clearing existing fibers...
Adding a single fiber to the section...
Committing changes to the fiber section...
Regenerating visual representation...
Calling regenerateVisualRepresentation() after adding fibers...
Error - SectionRebars(Rebars) RegenerateVisualRepresentation() called with Invalid state
Visual representation regenerated successfully after changes.
Updated fiber section ID 87 with a single fiber.
I tried to write a script to add a single fiber with Python but it still gives me errors.
Script: see folder down
---------------------------------------------------------------------------------------------------
TERMINAL:
Clearing existing fibers...
Adding a single fiber to the section...
Committing changes to the fiber section...
Regenerating visual representation...
Calling regenerateVisualRepresentation() after adding fibers...
Error - SectionRebars(Rebars) RegenerateVisualRepresentation() called with Invalid state
Visual representation regenerated successfully after changes.
Updated fiber section ID 87 with a single fiber.