Prompt please. Excuse for my English ๐ How through API (C#):
1. choose nodes or beams or plate on coordinates (x,y,z)?
2. how to appoint coefficient of subgrade resistance of a ground for a separate FE.
Solved! Go to Solution.
Solved by Rafal.Gaweda. Go to Solution.
MaxBob wrote:
Prompt please. Excuse for my English ๐ How through API (C#):
1. choose nodes or beams or plate on coordinates (x,y,z)?
There is no automatic function to do so. You have to either make (write code) selection from code:
- find all nodes on plane
- find all connected bars to this nodes (use function GetConnectedBars) and exclude columns (bars not in the required plane)
- find all FEs basing on nodes selection
- find all Panels basing on FEs (property ObjectNumber on FE)
or get them from graphical selection from Robot - the easiest way to do it shown below, then get this selection(s) by code:
code for getting graphical selection from Robot:
IRobotApplication robApp = new RobotApplication();
RobotSelection RNodesSelection = robApp.Project.Structure.Selections.Get(IRobotObjectType.I_OT_NODE);
RobotSelection RBarsSelection = robApp.Project.Structure.Selections.Get(IRobotObjectType.I_OT_BAR);
RobotSelection RPanelsSelection = robApp.Project.Structure.Selections.Get(IRobotObjectType.I_OT_PANEL);
RobotNodeCollection NodesCollection = (RobotNodeCollection)robApp.Project.Structure.Nodes.GetMany(RNodesSelection);
RobotBarCollection BarsCollection = (RobotBarCollection)robApp.Project.Structure.Bars.GetMany(RBarsSelection);
RobotObjObjectCollection PanelsCollection = (RobotObjObjectCollection)robApp.Project.Structure.Objects.GetMany(RPanelsSelection);
Then use these collections
2. how to appoint coefficient of subgrade resistance of a ground for a separate FE.
You can not do it for separate FE. You can assign elastic coefficient for panel(s).
Check this thread (VBA code but philosophy is the same) http://forums.autodesk.com/t5/Autodesk-Robot-Structural/VBA-Maillage-et-Axe-local-Plaque/m-p/3215358... ->
ThickData.ElasticFoundation = 0 '<- set value here
Can't find what you're looking for? Ask the community or share your knowledge.