Skip to main content
1-Visitor
June 18, 2015
Solved

How to add material to part using vb api

  • June 18, 2015
  • 1 reply
  • 1456 views

IpfcPart.RetrieveMaterial("Material1");

Throws error like... maximum length 32.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by gkoch

It shouldn't! There is an article how to use this:

CS148500 : How to retrieve and assign a material from disk to a model through Creo Parametric VB API

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS148500

1 reply

gkoch1-VisitorAnswer
1-Visitor
June 19, 2015

It shouldn't! There is an article how to use this:

CS148500 : How to retrieve and assign a material from disk to a model through Creo Parametric VB API

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS148500