Inventor Set Surface Color As Parameter To Be Changed From Excel

Inventor Set Surface Color As Parameter To Be Changed From Excel

Anonymous
Not applicable
1,456 Views
7 Replies
Message 1 of 8

Inventor Set Surface Color As Parameter To Be Changed From Excel

Anonymous
Not applicable

Hi everyone,

 

I am using Inventor for a project and I need to change the color of some surfaces/extrutions basing in their temperature. I was wondering if there is a way to set the color of an element as a parameter, in order to use an excel file for sending information regarding the color itself.

 

Thank you.

kelly.young has edited your subject line for clarity: Hoe to set the color as a parameter

0 Likes
Accepted solutions (1)
1,457 Views
7 Replies
Replies (7)
Message 2 of 8

Cadmanto
Mentor
Mentor

Welcome to the forum,

I don't know how many different variations you need, but if you create an ipart in the table you can assign a different part color in the member table.

https://forums.autodesk.com/t5/inventor-forum/changing-appearance-color-in-iparts/td-p/7014722+

 


Windows 10 x64 -16GB Ram
Intel i7-6700 @ 3.41ghz
nVidia GTS 250 - 1 GB
Inventor Pro 2018

 

Best Regards,
Scott McFadden
(Colossians 3:23-25)


Message 3 of 8

mcgyvr
Consultant
Consultant

@Anonymous wrote:

Hi everyone,

 

I am using Inventor for a project and I need to change the color of some surfaces/extrutions basing in their temperature. I was wondering if there is a way to set the color of an element as a parameter, in order to use an excel file for sending information regarding the color itself.

 

Thank you.


There are a few ways to accomplish changing color based on "something".. It may help us to provide the "best" answer if we had more details about your needs/process to set that variable..



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes
Message 4 of 8

Anonymous
Not applicable

Sure, what I need is to have a representation of the temperatures on different parts of a certain body and I would do it by associating at each temperature a certain color of course. The various temperatures are an output of a modeling simulation. My idea was to export the simulation results in an Excel file and then use those temperature values to assign a certain color to the correspondent part/surface. The final model in inventor should be able to update its aspect based on the results of the simulations themselves.

I hope it is more or less clear.

 

Thank you.

 

Best regards,

Federica.

0 Likes
Message 5 of 8

mcgyvr
Consultant
Consultant

@Anonymous wrote:

Sure, what I need is to have a representation of the temperatures on different parts of a certain body and I would do it by associating at each temperature a certain color of course. The various temperatures are an output of a modeling simulation. My idea was to export the simulation results in an Excel file and then use those temperature values to assign a certain color to the correspondent part/surface. The final model in inventor should be able to update its aspect based on the results of the simulations themselves.

I hope it is more or less clear.

 

Thank you.

 

Best regards,

Federica.


Sounds like a lot of work..

Doesn't your thermal modeling software already provide such visual indication/representation.. most do I'd think?

What thermal software are you using?

Why does Inventor also need to show that?

How are you going to tie (match) surfaces/faces/bodies or whatever in Inventor to whatever output you achieve in the excel file?

Do you have a sample of this excel file?



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes
Message 6 of 8

Anonymous
Not applicable

No I don't have the Excel file yet because I would firstly understand if this procedure is feaseble. No, unfortunately the modeling software will not represent the result automatically. The problem is that the geometry is quite complex since it is 3D. So I will use Matlab or Python or whatever to solve the problem and find the numerical values of the temperatures, but then I would like to represent it in a 3D model that I have in inventor. My initial idea was to set the color of each part as a parameter and then connect the value with a Excel sheet. It seems that this can be done, but maybe just with the dimensions. I attach the parameters table to which I am referring.

photo.png

kelly.young has embedded your image for clarity.

0 Likes
Message 7 of 8

mcgyvr
Consultant
Consultant
Accepted solution

@Anonymous wrote:

No I don't have the Excel file yet because I would firstly understand if this procedure is feaseble. No, unfortunately the modeling software will not represent the result automatically. The problem is that the geometry is quite complex since it is 3D. So I will use Matlab or Python or whatever to solve the problem and find the numerical values of the temperatures, but then I would like to represent it in a 3D model that I have in inventor. My initial idea was to set the color of each part as a parameter and then connect the value with a Excel sheet. It seems that this can be done, but maybe just with the dimensions. I attach the parameters table to which I am referring.


Alright.. "Yes".. Something is certainly possible.. What exactly depends on more details from you... I don't see parameters playing into the solution though as you aren't changing the color of a dimension but rather the color of a face/body that multiple dimensions creates...

There are most certainly ways (ilogic) that one can open an inventor part and have it look at an excel file and adjust the faces/bodies of a part based on "X"..

Your excel file on the most basic level needs to be like..

One column of features (or bodies or faces or whatever) and one column of the color you want it to be..

 

 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
Message 8 of 8

johnsonshiue
Community Manager
Community Manager

Hi! This might be doable using a iLogic rule. You will not be able to assign color as a parameter. You will need to reference it indirectly. For example, when ParameterA = STEEL, apply appearance STEEL or gray to the part.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes