Skip to main content
12-Amethyst
Apr 23, 2021 8:40 AM UTC
Question

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

15-Moonstone
Apr 23, 2021 11:34 AM UTC

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.

Translate
cstarnes12-AmethystAuthor
12-Amethyst
Apr 23, 2021 10:03 PM UTC

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.

Translate