Skip to main content
12-Amethyst
April 23, 2021
Question

Setting appearances with VB API

  • April 23, 2021
  • 1 reply
  • 1298 views

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

1 reply

15-Moonstone
April 23, 2021

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.

cstarnes12-AmethystAuthor
12-Amethyst
April 23, 2021

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.