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.
Copy properties from part being referenced by feature and assign to part being created
shawn_crocker
Member, OS Professional Posts: 865 PRO
I have a custom sheet metal feature. It allows for selecting an imported part and selecting one face of the part. It then converts the whole thing into a new sheet metal part and deletes the imported part. I use this feature usually on derived sheet metal parts. Usually I have one master part studio and it contains too many sheet metal parts to be comfortably navigated by someone who just wants to download a flat pattern of one part. I usually derive my sheet metal parts into new parts. Derive brings all the properties like name and description in with the derive. I would ;like to be able to have my sheet metal feature that converts it back into real sheet metal automatically reapply those properties(name description) to the new part. After 10-15 parts, I really start to feel the pain of renaming every single one as it takes the same amount of time to name them as is does to derive and convert them. I'm sure there must be an easy way to do this but I have not seen anything on this during my searching.
Tagged:
0
Best Answer
-
lana Onshape Employees Posts: 704Isolating the reference part on switch to is a great UX idea - thank you.
Unfortunately FS would not help you with transferring properties. An API solution should be possible.0
Answers
This is an interesting use case. This actually sound to me like you want to derive a sheet metal part together with its flat pattern. I'll write an improvement request for it.
Well, I thought that perfect solution would have been going too far. Haha. I have sort of gotten used to the fact that as far as I know, CAD systems seem to like to take the deriving of sheet metal parts almost to the finish line but stop short of actually making it completely useful. I became used to this inexplicable short coming as solid works also feels it OK to give a user a derived sheet metal part that is no longer sheet metal. If Onshape added the ability to derive the flat pattern in with the live sheet metal part, it would completely solve my problem and more. In the mean time, Is there a way read the properties of a part, apply them to createdby geometry and delete the referenced part all in one go? I can't seem to find a way to read the properties period.
PS. Another solution that would most defiantly allow me to proceed in the way onshape was designed. Right click on a part in an assembly, and chose "open linked document" or "switch to". When the navigation is complete, it would be great if onshape would automatically isolate the part that was clicked on originally. If this was that case, I would probably, more often then not, just use the sheet metal parts straight out of the originating part studio. I think it is completely logical that most users would find this useful. If your right clicking on a part to go directly to it, when you arrive at the destination, I feel it is a sure thing you want to see that thing not attempt to find it again possibly buried underneath other things after having already located it in the assembly environment. Anyway, at least feature script lets us strong arm the system to submit to our will.
Unfortunately FS would not help you with transferring properties. An API solution should be possible.
I know this post has been a couple of years back and in the meantime we have Sheetmetal but you might still need those properties.
I just came across someone that needed to import SW Sheetmetal parts via Monarch and retain all the part properties. There is this Custom Feature that does that and consumes the imported geometry, might be useful for you or other people.
Custom Feature: https://cad.onshape.com/documents/490b3f3a8dd5c84e1807bc65/w/2789fb957544de1db53be216/e/d211c7a31bd083244758f127
Forum Post: https://forum.onshape.com/discussion/8073/properties-configuration-with-part-arrays-or-with-many-config-parameters