Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
I am getting PRO_TK_INVALID_NAME exception while trying to load one of the component.As per PTC help The model name is too long is the reason for this exception.
I need some basic info.
What is the maximum limit for part name size in ProE WF 5.0 M060?
Can we set part name size dymanically?
I am providing part name using full path so does the other string exclusing part also gets consideration while calculating the part name size?
Hy,
you can find the const - Name Size in the toolkit-browser-Docu,it's 32 chars.
if you use the full path, everything is stored in the ProName - variable.
My solution:
Set the current Directory to the Path, were you want to load the Part, Load the Part with the short name (prt2342.prt) and then set the current Directory back to the old one.
hope it helps.
robert