Skip to main content
1-Visitor
Jun 18, 2015 2:01 PM UTC
Solved

How to add material to part using vb api

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.
gkochAnswer
2-Explorer
Jun 19, 2015 7:30 PM UTC

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

gkoch2-ExplorerAnswer
2-Explorer
Jun 19, 2015 7:30 PM UTC

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

Translate