Message 1 of 2
Simple Material Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have another question, I have a macro that i want to change my part's active render style to as material, the only problem is that i have a combo box with all of the render styles and the macro takes the selected value as the style to use. I know you can do this with:
oPartDoc.ActiveRenderStyle = _
oPartDoc.ComponentDefinition.Material.RenderStyle
but it doesn't exactly fit into the combo box. I have tried using :Nothing,As Material, "".
I added them via
Me.combobox1.AddItem ("As Material")
I am using Inv 2008 Sp1, has anyone been able to do this yes
oPartDoc.ActiveRenderStyle = _
oPartDoc.ComponentDefinition.Material.RenderStyle
but it doesn't exactly fit into the combo box. I have tried using :Nothing,As Material, "".
I added them via
Me.combobox1.AddItem ("As Material")
I am using Inv 2008 Sp1, has anyone been able to do this yes