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.
Custom property "edit value in version" vs "edit value in workspace"??
S1mon
Member Posts: 2,902 PRO
I'm setting up the custom properties for my company. I had my Enterprise onboarding with @Lindsay_Early (thanks!) today.
I'm trying to understand the "edit value in version" vs "edit value in workspace" settings. I can imagine what these are for, but somehow I've read the help a dozen times and it's just not making any sense.
I'm trying to understand the "edit value in version" vs "edit value in workspace" settings. I can imagine what these are for, but somehow I've read the help a dozen times and it's just not making any sense.
Pay attention to where you allow a property to be edited, however. When creating a property (through the Properties tab in your account settings), you can mark it Edit value in workspace, Edit value in version or both. If you mark it Edit value in version only, you can edit that value in a BOM table for any released parts since released parts become part of a version. However if Edit value in version is not marked, you would have to branch a workspace from that version, edit the values, then either create a version, or re-release the parts.
- Let's say I have a custom property of "Manufacturer part number" for some screws (as well as our P/N, and our vendor's P/N). Our P/N should only change if form fit or function change, but our vendor might decide to source from a different manufacturer. So I'd like to be able to change this property whenever, not tied to a version or revision. How do I set "edit value in version" vs "edit value in workspace"?
- Now let's say that I have custom property of "Color". I'd like to change this some times, and it should be traceable to a particular version or revision. How do I set "edit value in version" vs "edit value in workspace"?
- Is there a way to set "edit value in version" vs "edit value in workspace" such that if I retrieve any version or revision of a part, a custom property is always set to whatever the last change was?
- What happens if I turn off both of these check boxes? Can the value ever be changed? What would I use that for? Do computed properties still work?
Tagged:
0
Best Answers
-
eric_pesty Member Posts: 1,836 PROYeah I am not "super clear" on this either.
This is my understanding: the "edit in version" just means the metadata of a version can be changed (a version is otherwise static from a geometry perspective). This is needed if you want to be able to edit a BOM value of a part that is located in another document without having to create a new version. Any such changes show up in the history as "metadata update" (or something like this, I don't remember exactly). However I think this just means it gets edited in the specific version you are changing (i.e. the specific version called out by the assembly at the time you make the edit) so I don't think there is a way to achieve no 3 in your list.
If you don't allow edit in version, then you can only make a change on the workspace and any subsequent created version will have the new value but the data in each version will never change (metadata behaves the same as geometry at this point).
I guess the case for unchecking the "edit in workspace" would be if you want to change the data in a specific version of a part without changing the workspace, for example to mark a specific version as "do not use this version of this model" or something like this (but later ones and the current workspace are ok).
1 -
raj_Onshape Onshape Employees Posts: 110Use Edit Value in workspace when you want to change value in workspaces and have it propagate to all future versions. Past versions are unaffected.
Use Edit Value in version when you want to change a property in a past version.
As of now there is no easy way to edit a property in all versions outside of doing it yourself using Onshape APIs. There is no guarantee a part even exists in older versions
1
Answers
Can anyone answer these questions? I'm still baffled by these settings and the behavior of some of our custom properties.
This is my understanding: the "edit in version" just means the metadata of a version can be changed (a version is otherwise static from a geometry perspective). This is needed if you want to be able to edit a BOM value of a part that is located in another document without having to create a new version. Any such changes show up in the history as "metadata update" (or something like this, I don't remember exactly). However I think this just means it gets edited in the specific version you are changing (i.e. the specific version called out by the assembly at the time you make the edit) so I don't think there is a way to achieve no 3 in your list.
If you don't allow edit in version, then you can only make a change on the workspace and any subsequent created version will have the new value but the data in each version will never change (metadata behaves the same as geometry at this point).
I guess the case for unchecking the "edit in workspace" would be if you want to change the data in a specific version of a part without changing the workspace, for example to mark a specific version as "do not use this version of this model" or something like this (but later ones and the current workspace are ok).
I'll have to put this in as an improvement request, but I'd really like to be able to edit the BOM for a bunch of parts at once without having to create new versions, and have those edits stick for subsequent versions.
I'd even be happy if there was a toggle in the BOM view which would enable entering information for the whole table and having it applied to workspaces which then needed to be versioned to show up regularly in the BOM. The key is that seeing the entire BOM at once is valuable, but I get that the edits should be version controlled in most cases.
This is a value that might change over time depending on raw material costs, etc, but independent of the version or revision of the part. If I set "Edit value in version", and I make a change to the latest version's price, will that carry over to future versions? Does it just apply to the version where the edit was made? It would make sense to me if it wasn't retroactive to all prior versions, but it would make sense if it applied going forward to later versions.
Use Edit Value in version when you want to change a property in a past version.
As of now there is no easy way to edit a property in all versions outside of doing it yourself using Onshape APIs. There is no guarantee a part even exists in older versions
That helps a lot. Much more clear than the help. However, how does this behave when both options are turned on?
Regardless of these check boxes once an item is released all properties are un-editable. And based on your release management settings a company admin can go and change properties in already release objects