I am working on dynamo script for Cable tray support. I am partially executing this script for cable trays avoiding fittings. however, with current script I am able place support along cable trays, but it is not working for all cable trays within the project.
I am attaching herewith my script.
I need help on two things,
as mentioned above script works only for few cable trays.
when i tried this script including freezed portion of script for fittings, support fails to rotate as per angle of cable trays.
There is a low chance anyone is going to be able to download your script, set up a project and replicate your exact issue.
Your better chance is to run the script with the errors expand all the node results or add alot of watch nodes and show the exact flow of data or sny errors.
Don’t pst the whole file - just two runs, one which works and one or two which does not but that are all near each other.
Be sure to open a detached copy, then delete all materials, delete all the elements, then delete all views but one 3D view showing the elements, delete all schedules, purge unused 3x and finally save the detached file as a few central.
@sovitek
I have updated my graph per your suggestion; however, it still fails to assign cable tray level to support level. I am attaching herewith Snaps and script.
can you please help me with this?
I am not able to see that level parameter in support family as well.
In snaps you will see that Supports are placed at some different host i.e. below the cable trays. Cable Tray Support-Final-16Jan.dyn (81.2 KB)
I am not sure whats goin in your graph, try as showed and try work from there…i cant create that issue. Is it a link you work on, if that the case be sure their share origin or transform, calculate the levels elevaion…if i should go deeper in that i will need a snip of these models you work on…btw i only give examples i dont create your project, and many things can probably go wrong, depends on your models…