The easiest way to do this would be with 2 construction lines, horizontal and vertical leading to your centre position. Dimension each and link them to your global variables. Now if you start your centre rectangle/circle at the end of the construction line it will be located where you wish, should you update the variables, the position will update.
You could also look into using a design table to create configurations of the variables if you plan on working between multiple sets of known locations.
Oops, I saw the other question first. I guess a picture would help here. Can you post something?
First add dimensions, then connect dimensions to variables.
first of all thank you for your useful and quick answers!
The method of the two lines works, and I am happy of that.
The problem is that when I want to extrude, I must delete every time the two lines (my final result is a "clever" geometry that changes with parameters without any other action).
Roland, your solution seems interesting, but being a novel I didn't understand it well: I draw a circle>right clic on the center>more dimensions>horizontal ordinate (right?). And then what should I do? Could you explain me step by step?
Thank you all again guys
Federico Giacci wrote:
The problem is that when I want to extrude, I must delete every time the two lines (my final result is a "clever" geometry that changes
If you use construction lines, as in my screenshot, then you don't need to delete them. SW will ignore them when using the sketch for a feature.
you are right! Previously I was sketching a simple line. With center line everything works well.
Thank you again