Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
UI suggestion. Entering variables when adding dimensions to a newly created sketch element.
david_fisher031
Member Posts: 24 ✭✭
When you create a new sketch element a text box appears with the current dimension which allows you to start typing to give it a new value. But it doesn't start the edit process if you hit the # key to enter a variable name, you have to hit a numeric key and then delete that and then enter the variable name. Could it be changed so that entering a # also starts the editing process.
Tagged:
0
Comments
I'd like to declare a variable when entering a dimension, either when creating an element (via the dimension field that pops up already upon creation), or when using the dimension tool.
So say we're creating a shaft, and we want the diameter to be controlled by a variable.
Current method.
First we navigate in the feature tree above where we want to use the variable and declare it so its available when we come to want it.
Next we draw a sketch and put a circle on it. The dimension box appears when we click to place the circle, then enter the variable name, if we can remember what we called it...
Proposal:-
Create the variable on the fly in the sketch.
Click the circle and in the dimension field enter #ShaftDiameter=20mm
OS triggers on the "#" and the "=" to determine we want to create a new variable (or re-dimension one if it's already been declared) and goes ahead and does that for us. So we can see and adjust it later it creates the variable "as if a human did it" and puts it in the feature tree. Just the #ShaftDiameter name remains in the actual sketch dimension field, so now we're back to normal.
It only saves about 5 clicks per variable but saves hopping in and out of sketches to declare variables each time you want a new one, or 20 of them!
Moving this forward a step how about bolstering variables with "types" and "Enums"? If you've not played with types before think of them as super variable that can hold many parameters in a nice single, easy to use set.
Any good?
Owen S.
HWM-Water Ltd
We certainly need a lot of improvements into variables and how to use them. Your suggestion would be one of needed improvements. +1
I would like to see variables exist parallel to the feature tree instead of part of it. They should be "timeless," meaning they can be created at any time and used for any feature.
Owen S.
HWM-Water Ltd
I'm too lazy to first think of parameters and then sketch, I just wan't to model and if I wan't to refer to some existing dimension there should be direct access to any given value.
And shortly after that, I would like to see global parameters where main assembly from another document controls the whole model. So it would probably mean parameter list on top of documents so that any document can access those parameters and parameter list could 'pull in' any value from any document for reference.
This all is probably on the table at Onshape already but I do like their way of giving also the first iterations for us to stab and test while they prepare awesome things for us.
You don't need to type a numeric to start it.
TVP, Onshape R&D