Hi! I am trying to create dimmensions on an assembly view, specifically a hight dimmension in a Section A view (in my case it would have the same orientation as a Front view). I have successfully automated “horizontal”/width dimmensions, but I can´t do it vertically. I get some of these errors when creating the line to place the dimmension:
I have narrowed my problem, and now I am just trying to draw a vertical line in the Section A view… unsuccessfully. I noticed it is not reading Z coordinates as I would expect it to do so. Here are some expamples: Line in X axis: OK
Line in Z axis: I believed Z axis would be my vertical orientation in this view, and this is the dimmension I would like to create, in order to show my panel´s hight, but it says it is normal to the view
If I draw a detail line on the desired view and get its location with Dynamo I get this result (showing it has a Z direction):
Line(StartPoint = Point(X = -4460.402, Y = -6384.542, Z = 0.000), EndPoint = Point(X = -4460.402, Y = -6384.542, Z = 3600.000), Direction = Vector(X = 0.000, Y = 0.000, Z = 3600.000, Length = 3600.000))
@Nick_Boyts Thank you for your help! I have followed the instructions in the recommended post: I have set the view´s SketchPlane to the view´s plane (which has a normal direction -Y), but when I try to draw the Detail curve in Z (after setting the SketchPlane) I still get the same error (curve normal to plane)
So the node is actually behaving as designed right now, where it projects onto the XY plane and has been there since 2016. Should this have been there? Probably not But it’s working “as intended” for now. We are going to log an improvment to it.
In the meantime, the best path forward is using a package node (Like @john_pierson mentions) or Python.