set material in inventor 2017

set material in inventor 2017

Anonymous
Not applicable
452 Views
0 Replies
Message 1 of 1

set material in inventor 2017

Anonymous
Not applicable

How to change material in inventor 2017 using vba?

 

i use code:

 

Dim imats As Materials
Set imats = invdoc.ComponentDefinition.Materials

Dim imat As Material
Set imat = imats.Material

imat.Name = ComboBox1.Value

but it give error :

Object Doesn't support this property or method

 

any sugestion what code i should use? thank you....

0 Likes
453 Views
0 Replies
Replies (0)