Is there a way in dynamo to overwrite a point to use in a something similar to do while or loop, in the end I’ll add a distance test for the number of arrows to draw. In old vb routine I reset the point coordinate in a do while so the same code block could be used to draw polylines. I’d like to do same unless there is a better method to place elements based on distance to repeat a code block with new base point. I was able to generate the same type of by routine using a block for arrows that generated the new insert point for the block, but I like the idea of no having to make sure the block definition is in the drawing, I believe newer dynamo versions let to make a block by code like in vb, but we are a few versions behind.
i want to help but i couldn’t understand u fully. to me, it seems x,y,z component is readonly for a point. any transformation applied to them also produces copies. whats ur concern? high memory usage?
Let me try again, I was looking for a way to reuse or generate new points based on the code block that draws the first arrow, basically, create a new start point 0,0 so the points that define the arrow polyline points can be used again for the new 0,0 location, in this case it would be 80 feet from the cyan colored arrow.
i just realized the question is tagged civil3d. but i think it should be pretty much the same in dynamo for revit. do u mean this? u just translate them.
Yes, that’s pretty much it. is the first code block design script? it appears as I move forward, I’m going to have to learn some design script, I’m struggling in dynamo converting VB routines that have a lot of if or loop distance tests, maybe learning some of this will help.
yes it is, but i recommend u learn python instead. u can probably pick it up in one or two weeks given u have experience in vb. that would be a better investment of ur time.