Is it possible to define design groups via C# API?
Either through adding CmdDesignGroup instance to model or through configuration xml file?
Is it possible to define design groups via C# API?
Either through adding CmdDesignGroup instance to model or through configuration xml file?
Ehi @TheFishTankGuy ![]()
Looks like this part of the API is not really simple to use in c#.
The goal is be able to create a CmdDesignGroup as you said:
FdScript_DesignGroup
In c#, you can then apply the design group doing the following:
var designGroup = new FemDesign.Calculate.CmdDesignGroup("name", new List<FemDesign.GenericClasses.IStructureElement>(), DesignGroupType.SteelBars);
string logfilePath = OutputFileHelper.GetLogfilePath(connection.OutputDir);
var fdscript = new FemDesign.Calculate.FdScript(logfilePath, designGroup);
connection.RunScript(fdscript);
thanks for the feedback. We will generate a method called:
SetDesignGroup() to make user life easier ![]()