I am looking to change the color of a feature or body based on dimensional values using either an equation OR via Design Table. This action will be in a Part Model. Thanks in advance.
Create a Design Table and insert a column named $Color. Then insert the following text into the first
If E3 contains your dimension and it is less than 3, the part will be purple and if the dimension is greater than 3 the part will be purple. Problem is you have to reopen the DT if you change the dimension outside of the DT to get the color to update.
$Color is correct for changing the color of the ENTIRE model, I used this before.
However as the original request stated: "...change the color of a feature or body based on dimensional values...".
Okay, I'm going to explain how I arrived at the above solution to guide you on solving this problem yourself.
Create a simple part. Now create two configurations. Configure 1 of the dimensions to be different in each of your configs. Now create a design table. Make sure you have your settings as such:
SWX will automatically select all of the dimensions and such. Now close the design table. Select a face and change the color. Reopen the DT and SWX will add the display state stuff.
Now using the above equation (edit to fit this scenario) you can toggle the Suppression state to S (Suppressed) or U (Unsuppressed) to change the color between two or more colors.
Retrieving data ...