Hi, I am interested of doing a parametric design of a retaining wall with API.
From last project I got the feeling that it was best to collect questions. Here is what I am getting stuck on:
Current code (what is the recommended way to share files?):
-
Is it possible to add foundation slab?
(Currently adding eccentric slab and surface support seperatly) -
Is it correct that the FemDesign.Geometry.Region.RectangleXZ starts from point 0, 0, 0? Should this not require position similar to FemDesign.Geometry.Region.RectangleXY?
Was also wondering if there should be a method called FemDesign.Geometry.Region.RectangleYZ?
-
I have added “C35/45NoEG” to library in FEMDeisgn console but the API can’t seem to find it. I am guessing the library is not shared, is the solution to create a new material inside the API? If so, can you give a example?
-
Load groups → Custom (Load cases’ relationship)
Can you help with example of a custom load cases’ relationship, see picture:
The closes I can find is this:
Practical example - Load groups combining
Practical example - Load groups
The difference is that Load groups combining is a more advanced version compared with Load groups?
Load group in code so far:
var LGWaterULS = new LoadGroupPermanent(1, 1.35, 1, 1, loadCasesWaterloadsULS, ELoadGroupRelationship.Custom, 1.1 / 1.35, “LGWaterULS”);
-
Is there load group for accidental loads?
-
Load groups → Combination method
Can you help with example of defining load group combination to deactivate SLS loads in ULS and vice versa, see picture:
-
QuantityEstimationConcrete
How do you extract the Area and Volume info?
My code so far (not working):
double AreaBPL = FemDesign.Results.QuantityEstimationConcrete.Slab1.Area;
double VolumeBPL = FemDesign.Results.QuantityEstimationConcrete.Slab1.Volume;
Would be usefull to calculate lift from water.
- Reinforcement
I have looked in Example 8 - SlabReinforcement
I was wondering how the crack width should be implemented.
With RCShellCrackWidth constructor?
If so, can you give example of “CaseIdentifier = resultCase;” ?
Was also intressted in example of RunDesign, my code so far:
var design = new FemDesign.Calculate.Design(autoDesign: true, check: true, loadCombination: false, applyChanges: true);
femDesign.RunDesign(RCDESIGN, design, null);
Where do you set calculation / design parameters? see picture:
- Adding section.
I think the result is stored in the .strFEM and is not visible in .struxml. This means that it can’t be modified with API?
Ex if I want to add sections with constant reinforcement result.
A workaround could be to add labelled section with API and add the sections manually?
Also wondering how to add the labelled sections to the model can be made.
The following code gives an error:
model.AddLabelledSection(LabelledSection, false);
- Documentation
API can not create individuial plots? Creating a templete and creating a .docx is the only option?
Is priting to PDF with API a possibility?
Practical example - PrintDocumentation