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.
Comments
That's a great update to your FS (which I looked at a while ago - but don't think it had this functionality. With this one, I can finally have part mass (weight) updating on drawings.
Could you udpate it to be able to push the volume of the part as well? I'll poke around and see if I can get it to work in g/cm^3 (all my parts are under 2kg).
Thanks again @mbartlett21
Romeo
I want to echo @john_mcclary 's post; one of the primary reasons to establish various hide/shown states of instances in an assembly is so it can be leveraged in a drawing.
According to the recent "Ask Me Anything with Jon Hirschtick" webinar, assembly configuration are coming soon. "Display State" functionality is something that should be intrinsic to Assembly Configurations. Display State functionality has all the appearance of a band-aid; the sooner it is removed the better.
Things are getting messy in the product: Assembly Context, Named Position and now Display State functionality all should be possible with a properly implemented Assembly Configuration capability.
My confidence in Onshape's ability to focus on and deliver important missing functionality has been shaken.
If the code was written for configs, and this bit was ready now, then I'm happy it was pushed on its own. It's useful to me today, and I couldn't do it last week. Free upgrade.
The only time I felt a hint of an unfinished feature bring released was v1 of sheet metal and that was right after the forum was flooded with "just release it already" comments...
OwS
HWM-Water Ltd
I may be able to add that.
Glad to see that it's useful! (I hadn't tested it with custom properties because I couldn't create any)
IR for AS/NZS 1100
https://forum.onshape.com/discussion/10368/cross-section-in-display-states/p1?new=1
https://www.youtube.com/watch?v=SQVMHbpGfgY
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
https://cad.onshape.com/documents/3ca261a95938af152088fca8
IR for AS/NZS 1100
That's awesome!
...now...could you pull the density info from the Material property (if it's been set) ?
Thanks for working on this featureScript!
They are concerned about performance when the part studio updates (as I understand it)
Thank you!
However, I run into issues I think when there's already a value in my target Custom Properties that I put there manually before this FeatureScript came along. Basically, the FS doesn't seem to populate the field any more.
I have tried deleting all values in the Custom Property, and using the FS again.
Can you explain how it is supposed to work (in terms of pushing data to the Custom Properties (which I select by pasting in the ID) ?
How / when does it push the information to the custom property?
Thanks again!
Romeo
Once you have set a custom property, you cannot clear it.
There was a discussion somewhere else on the forum about it and Onshape said they were working on a solution.
IR for AS/NZS 1100
Referring to pulling material density information from a part. They are afraid it would cause too many part updates/regens that would slow down the document.
@mbartlett21 is correct -- a manually set part property will override any FeatureScript-set part property and there's no way to clear it (support can do it, but only by deleting all manually-set part properties from a part studio). We are working on a solution.
Thanks.
That is a real bummer - I hope that you can find a solution for that. It seems that the only time we can use this FS is once we are 100% sure we aren't going to make any changes to the part (and that the mass will not change)....which kind of defeats the purpose. There is enormous utility (for me) in being able to see a mass or volume update on a drawing as I make changes, and as a design evolves.
However, I can override the FS-set value in a Custom Property and type in my own (non-updating) value, right?
So my workflow must be (if I want to use @mbartlett21 's FS) is to ensure that I've never put any value in the Custom Property (like, Mass) that the FS is going to populate....then I can use the FS. Any other use case: I have to put the value in manually.
Thanks
Romeo
Enfin la version en français! (Mes vacances sont vraiment terminées...😉)
N'hésitez pas à aimer la vidéo et à la partager avec vos amis!
https://youtu.be/ITkznz9eVHo
@mbartlett21 is correct -- a manually set part property will override any FeatureScript-set part property and there's no way to clear it (support can do it, but only by deleting all manually-set part properties from a part studio). We are working on a solution.
Is there a way to do it from the API?
IR for AS/NZS 1100
I don't believe so.
HWM-Water Ltd
Twitter: @onshapetricks & @babart1977