Hi Marco
I’m wondering if there’s a way to assign loads to a specific element in Grasshopper:
Hi @AndreiM !
In a coding environment, you can get the geometry information using someof the data from the elements their self.
Can something like the following work for your case?
Hi Marco
I understand what you are saying, but what I would like to do is the following:
I have some walls and a cover used for the vertical load distribution:
In the same model I would like to have a fictitious shell used only for the horizontal load distribution:
Withouth doing this I cannot make sure that the loads are acting on the cover or the plate:
Let me know if it makes sense ![]()
Hi @MarcoPelle
I have a follow-up question regarding the assigned loads topic we discussed earlier.
In the .struxml file generated by FEM-Design, I noticed that when a load is assigned to a structure, there is an option available.
However, when I attempt to modify this property using Python, I receive an error stating that the line_load does not have this attribute.
You can easly change a load and add a comment or such:
But I cannot find the Assign structure attribute (print(dir(load)):
[‘Action’, ‘CaselessUniformForce’, ‘Comment’, ‘ConstantLoadDirection’, ‘Direction’, ‘Edge’, ‘EndForce’, ‘EndLoad’, ‘EntityCreated’, ‘EntityModified’, ‘Guid’, ‘IsCaseless’, ‘LastChange’, ‘Load’, ‘LoadCase’, ‘LoadCaseGuid’, ‘LoadProjection’, ‘LoadType’, ‘Normal’, ‘StartForce’, ‘StartLoad’, ‘ToString’, ‘UniformForce’, ‘UniformMoment’, ‘VariableForce’, ‘VariableMoment’, ‘class’, ‘delattr’, ‘doc’, ‘format’, ‘getattribute’, ‘hash’, ‘init’, ‘new’, ‘reduce’, ‘reduce_ex’, ‘repr’, ‘setattr’, ‘sizeof’, ‘str’, ‘subclasshook’, ‘_constantLoadDirection’, ‘_lastChange’, ‘_loadCase’]
I would really appreciate your insights on whether there is a way to apply this property to a load with python/C#.
Looking forward to your thoughts!
Hi @AndreiM
Working on it ![]()
We can hopefully fix the issue for next release which is expected end of March.
@AndreiM
24.1.0 will give you access to the property “assigned_structure” through python/c#
We can also consider extending the Grasshopper component at some point if needed ![]()