Apperence/Material Color

Apperence/Material Color

paulschuepbach
Contributor Contributor
688 Views
7 Replies
Message 1 of 8

Apperence/Material Color

paulschuepbach
Contributor
Contributor

Hello all,

 

I have the following problem since the 'RenderStyle' Object has been removed from the API: some Materials in Material Assets do have a Color information, such as RGB-Value and Opacity:

generic_diffuse 127   127   63   1

 

Other Materials do not have a Color information - when the graphic style has a Texture (see pic).

 

How can I get the RGB-Code from a Material (or from a Face etc....) when the Apperance has a Texture?

 

 

Best, Paul

0 Likes
689 Views
7 Replies
Replies (7)
Message 2 of 8

bradeneuropeArthur
Mentor
Mentor
Have you migrated?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 8

paulschuepbach
Contributor
Contributor

Yes, all Parts and Assemblies are migrated

0 Likes
Message 4 of 8

bradeneuropeArthur
Mentor
Mentor
You need to migrate the material library too.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 5 of 8

paulschuepbach
Contributor
Contributor

??? this are Materials from the 2018 Material Library... - what shell to be migrating then?

0 Likes
Message 6 of 8

bradeneuropeArthur
Mentor
Mentor
The old one to the new definitions...

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 7 of 8

paulschuepbach
Contributor
Contributor

I don't see why there shell be the need for any migration. Again: this are Materials from the Inventor Matrerial Library 2018. My question was: how do I get the RGB-code from the used Material - some Materials have a RGB code in the definibition, others don't - if they have a texture.

In other words: what is the Colors RGB code of a face (for example) ?

0 Likes
Message 8 of 8

bradeneuropeArthur
Mentor
Mentor
Ok explanation!
The material used in the document defer from the library you are using.

So if you would like to have them the same as in the past, you need to migrate the old library to a new 2018 library. They have a complete other definition, and are stored in a complete different database.

That's why you need to migrate the old library you were using to a new 2018 library file.

Hope this will help you.....

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes