Non structural elementos charge automatically loads on Revit

Hello Guys.

I need help, im trying to get and idea if Dynamo could help me with this, Im working on a Revit structural model, on the analyze tab I have an option that is a line load in a plant view, I dont know how to do it automatically with dynamo, but imaging a workflow is, SELECT Wall, Select tool a line load, select the base coordinates of a wall, asking the load value and added to the model, and repeat the process with all similar type of family.

Someone could dares me how to do it or show me a video that I can look.

Thanks

I h

step 1: Select the coordinates of a wall.


Step 2: Select the line load.
Step 3: Assing the load value .Screen Shot 2021-01-16 at 11.31.44 AM

final Result. Need to be repeat to all instances and type of wall selected on model

Screen Shot 2021-01-16 at 11.32.59 AM

@makagonov.ymm Are you trying to create line loads from walls? Have a look at the LineLoad.Create Method in API. It will get you started. You can find a similar topic here:

1 Like

Thanks, I will checkout that model. Thanks my Leader !

Guys, I tried but I dont know my error, BTW im not a specialist programming im only coping your knowledge to create but im doing my best, so I have some questions about it Dynamo (first time using it)

1.When I tried to use command select model elements I click on it but it not select the walls that I need it. what’s wrong with it? Screen Shot 2021-01-17 at 2.18.49 PM

  1. in code Block marked with 1.5 SDL, what’s it mean? I dont understand it.

3.i modified code block due moment forces I dont need, just doing this script to axial forces in Kg/lm

  1. I received this error Screen Shot 2021-01-17 at 2.18.45 PM

5.Finally I replied this code but not understanding why it menas.

Please if somebody can help me I will appreciate.

@makagonov.ymm you have typo error at line number 28. It should be like this:

for l in lines:

I made it, I received this error :slight_smile:
onPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 29, in
Exception: Modifying is forbidden because the document has no open transaction.

Could you help me please?