Skip to main content
4-Participant
June 21, 2023
Question

Accessing Model Name of every part in an assembly using C++ or Lisp

  • June 21, 2023
  • 2 replies
  • 1278 views

I'm trying to access the model name and read it in a tree format from Creo ED.

Tried a few Lisp APIs I saw in the document; didn't help much as none returned the model name.

https://support.ptc.com/help/creo_elements_direct/r20.3.0.0/advanced_documentation/integration_kit/reference/function_index.html

Is there any other way to access the data? C# also doesn't seem to have the related API on Part

 

2 replies

4-Participant
July 18, 2023

CREO ED Model Name.png

Have a requirement to read the Model Name (marked in green)for every Part/Assembly instead of the Part/Assembly Name (marked in red)

14-Alexandrite
July 23, 2023

Press [Show details] in the upper left corner of the structure tree.

Pict.png

13-Aquamarine
November 15, 2025

Tried a few Lisp APIs I saw in the document; didn't help much as none returned the model name.

 


you are wrong..   because  sd-inq-obj-contents-name is your friend. API naming differs a little from User Interface language, even in english UI.  API differentiate using 'instance' and 'contents' , where 'instance' is shared 'contents'.

It's a pity this simple question did not get answered earlier.