Skip to main content
1-Visitor
September 23, 2020
Question

Symbol Instance definition name

  • September 23, 2020
  • 2 replies
  • 1331 views

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.

2 replies

23-Emerald III
September 23, 2020

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.

BenLoosli_0-1600896719046.png

 

24-Ruby III
September 24, 2020

@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.