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.
Configuring Part Property problem (Now FIXED)
owen_sparks
Member, Developers Posts: 2,660 PRO
Hi folks, I wonder if you can help?
I have a pipe that has two configuration inputs. (Length and colour.)
I can configure the appearance just fine but the configuration takes into account the length and colour options.
The length isn't relevant, so this method fails if the length is set to anything other than the default.
I don't seem to be able to delete the length column from the properties config.
What am I doing wrong?
Thanks for your time.
Cheers,
Owen S.
I have a pipe that has two configuration inputs. (Length and colour.)
I can configure the appearance just fine but the configuration takes into account the length and colour options.
The length isn't relevant, so this method fails if the length is set to anything other than the default.
I don't seem to be able to delete the length column from the properties config.
What am I doing wrong?
Thanks for your time.
Cheers,
Owen S.
Business Systems and Configuration Controller
HWM-Water Ltd
HWM-Water Ltd
3
Comments
The only way you can currently set a color based on one configuration input is by writing a custom feature. Here's one I whipped together: https://cad.onshape.com/documents/d290e9ee2e626a7b649b4927/w/194d18396c5bc98706ec2624/e/7b2aa285ed0349bc1a9fe1d7 -- you can configure the color parameters.
Thanks Illya.
Cheers,
Owen S.
HWM-Water Ltd
Works like a charm, thanks again
Cheers,
Owen S.
HWM-Water Ltd
Is there a workaround to overwrite/reset the appearance?
I also adjusted you FS a little bit, now I can use integer RGB values (0...255)
And you can set a material name and density
Owen S.
HWM-Water Ltd
@ilya_baran
IR for AS/NZS 1100
Maybe you could merge this change into yours?
IR for AS/NZS 1100
If you follow these instructions you can see how to reset part properties:
https://www.onshape.com/cad-blog/tech-tip-how-to-reset-part-properties-in-onshape
Unfortunately, color does not show up explicitly in that panel, so you will have to use "Reset all" if you would like to reset the color.
We will start brainstorming on how to handle this better.
The "Reset all" button does exactly what you want. This will reset all properties at once (so if you don't want everything reset you'll need to redo those), but it's the one way to completely remove manually-set properties (including color), so after that you'll see your FS properties shining through.