Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hello
For symbol instance present in drawing, we can identify name of parent symbol using API ProDtlsymdefdataNameGet.
This API gives correct name in case of Symbol Definition having name as Test. In case of Symbol Definition Name having Test (2) or Test(2), it is not giving full name and only provides Test as symbol Definition Name.
Am I missing something or is this way it works? Any suggestion would be of great help.
Check the list of invalid characters in a filename. I think the '(' and ')' are not valid characters.
Usually in a Windows folder, a file with the (#) in the name indicates a copy of the original file.
@Ketan_Lalcheta wrote:
Hello
For symbol instance present in drawing, we can identify name of parent symbol using API ProDtlsymdefdataNameGet.
This API gives correct name in case of Symbol Definition having name as Test. In case of Symbol Definition Name having Test (2) or Test(2), it is not giving full name and only provides Test as symbol Definition Name.
Am I missing something or is this way it works? Any suggestion would be of great help.
Hi,
if I try to create drawing symbol in Creo session and enter symbol name Test (2) or Test(2) then Creo tells me that I entered invalid name.