cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Setting appearances with VB API

cstarnes
10-Marble

Setting appearances with VB API

Does anyone have an example of how to set assembly or component appearances (preferably by name), using the VB API?

2 REPLIES 2
mvitárius
15-Moonstone
(To:cstarnes)

Maybe the workaround could be that you set the material of the part by vbapi, but for assembly, I don't think it is possible.

That's what I'm doing currently, but it's not reliable. The parts don't always regenerate if the PTC_MATERIAL_NAME parameter is changed.

Top Tags