Hello again. Thank you for all the responses.
It seems that a few people are looking for the answer on this.
Terry Partridge tells us that WF 3.0 may have this ability.
Thanks to Caleb Coburn and Dave Fitz who got closest to what I was actually asking.
So here goes, a paraphrase:
1. Create a datum plane offset from one of the original planes.
2. Rename the offset dimension to CONVERT.
3. Set the distance of CONVERT to 1 (for those starting in inches).
4. Write a relation that makes use of the convert dimension.
5. Example:
d4 = d4=20(length of rectangle)
d3=d4-10(width of rectangle)
Using the CONVERT variable for unit correction
d4=20*CONVERT
d3=d4-10*CONVERT
This way, all relations will be updated automatically when the part is converted from inches to metric.
6. Change CONVERT datum plane to Read Only (Edit > Read Only). This may help protect the feature from unwanted changes by the user.
7. You may also be able to write:
IF CONVERT == 25.4
WEIGHT = MP_MASS(")/2.2046
ELSE
WEIGHT = MP_MASS(")
ENDIF
I haven't tried this, so I don't know if it works...
Thanks again for the help.
Don
-- "donald_gibson@netzero.net" <donald_gibson@netzero.net> wrote:
Hey all,
Is there any way to convert relations when you switch units in pro/E?
I have some relations in a feature that are based on inches. When I convert to mm, the relations do not get changed and things fall apart.
Any ideas?
(WF 2.0, M090)
Thanks!
Don
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.