Hello. I am new to building plug ins for Sketchup. I have figured out how to draw a simple line, but I would then like to have the dimensions of that line show with it. This is what I have.
model = Sketchup.active_model entities = model.entities pt1 = [0, 0, 0] pt2 = [0, 350, 0] new_line = entities.add_line pt1, pt2
So this makes my line. Now the next part, I think should have something like
add_dimension_linear pt1, pt2, [0,0,0]
However that is not working. If someone could please help me with this, it would be greatly appreciated.