Barone_Birra
Guest
Good morning, I'm facing the following problem:
set the position of a design view on a vba draft with the command "vista.setorigin(x,y)".
the question is how do I know which point of view I'm going to place?
example: I put on the table a cylinder and in the view where you see the base area (so a circle) with the command above indicated and with coordinates (0.0) makes me combine the center of the circle with the lower left corner of the sheet (in this case a4) from which I deduce that I am assigning the coordinates to the center of the circle; same command with the front view (where the table corresponds to a rectangle) I put again (0,0) but the rectangle I see it with the axis aligned to the bottom corner of the sheet but the rectangle is all "under" as if the check point (0,0) in my view was on the axis but above the cylinder out of the figure.
I tried to show the reference axes of the views from (project body->elenca all-> axis x ->mostra assey->mostra siz->mostra) and the reference axes of the two views are not overlapped so I am not assigning the coordinates (0,0) at the origin of the axes.
the question is therefore according to the view which point of them is the reference that assumes the coordinates given by "vista.setorigin(0,0)"?
Thank you.
set the position of a design view on a vba draft with the command "vista.setorigin(x,y)".
the question is how do I know which point of view I'm going to place?
example: I put on the table a cylinder and in the view where you see the base area (so a circle) with the command above indicated and with coordinates (0.0) makes me combine the center of the circle with the lower left corner of the sheet (in this case a4) from which I deduce that I am assigning the coordinates to the center of the circle; same command with the front view (where the table corresponds to a rectangle) I put again (0,0) but the rectangle I see it with the axis aligned to the bottom corner of the sheet but the rectangle is all "under" as if the check point (0,0) in my view was on the axis but above the cylinder out of the figure.
I tried to show the reference axes of the views from (project body->elenca all-> axis x ->mostra assey->mostra siz->mostra) and the reference axes of the two views are not overlapped so I am not assigning the coordinates (0,0) at the origin of the axes.
the question is therefore according to the view which point of them is the reference that assumes the coordinates given by "vista.setorigin(0,0)"?
Thank you.
