Hi,
I created this graph to place a detail component by curve and view , but i got null
any idea why is that?
Is there any python inside the custom node? Might be easier to figure out if we can see the error underneath.
Also, have you tested before with another line and have it working with that family type?
Hi,
I opened the custom node and copy-paste into my dyn,
i think the python node is not working ,the loop is going to except block
Can you replace the exception with this please…
except Exception, ex:
elementlist.append(ex.message)
Here are some solutions…
- Pull line onto the plane of the view. NOTE: This will cause projection skewing if the planes are not parallel so not ideal in all cases.
- Transform the line into the plane of the view if you know what plane the lines are already in. A better solution as you won’t have projection issues. If you don’t have the plane of the line, you could get this by using some of the Plane Creation nodes from properties of the line and/or Element it derives from.
Hi @rinag
Could you please drop here revit file with just one rebar on it?
rebar.rvt (2.5 MB)
rebar.rvt (2.5 MB)
@rinag Thanks for uploading revit file. Like @Daniel_Woodcock1 said you need to pull the line on to plane to get it work.
@Kulkul Thanks for the initial solution though finding this is not working anymore even with the pull line onto plane which is just a normal horizontal plane from the level. any more thoughts?
Thanks
Hi Tim,
Did you have any luck finding a solution for this?
Curve.PullOntoPlane works well for me on section views but i just get nulls when using it on a plan view.