What should I define this point? point_on_dimension_line.
I set it to be like this:
#Add position dimension on top view
basepoint = x, y, z
originx = 0, y, z Dimpointx = 0.5*x,y+40000,z originy = x, 0, z Dimpointy = x+2000,0.5*y,z originz = x, y, 0 Dimpointz = x-2000,y,0.5*z dimensionGx_id = rs.AddLinearDimension( originx, basepoint, Dimpointx ) dimensionGy_id = rs.AddLinearDimension( originy, basepoint, Dimpointy ) dimensionGz_id = rs.AddLinearDimension( originz, basepoint, Dimpointz )
But it wouldn’t work for the y direction, always appears as o length.