&CPNAM(comp)
Accesses the name of the part file that the specified component object references. The name can be returned (READ) to a receiving variable or GRIP statement, or changed (WRITE) to a different name.
If you specify a new component file name, the system performs a component substitution on the component.
NOTE: You cannot edit the name of component occurrence.
Read/Write - String - 132 Characters