AutoCAD Plant 3D Forum
Welcome to Autodesk’s AutoCAD Plant 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Plant 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PnID Format expression string length

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Jan-TSpD
1406 Views, 1 Reply

PnID Format expression string length

Hello, i keep getting a notification "The format expression string cannot be longer than 255 characters" when i try to save a Tag Format Setup in Autocad PnID. See attached picture.

When i count the characters in the tag format setup it is far below 255 characters. Does anyone know which other characters is have to count?

 

Regards,

Jan Harink

Tags (3)
1 REPLY 1
Message 2 of 2

Hi Jan,

 

The length of 255 is a limitation of SQL which will be used here in the background. The subparts and the delimiters will be internally concatenated with the concatenation symbol (||). The delimiters will be set in "" because they are strings, for example "-". If you leave for one subpart the delimiter blank, it will be translated to "". I have translated your tag format to a SQL expression. This expression I have attached here as a snapshot. Look for the count of the signs used (blanks will be counted, too) and it is about 271 signs. So it is higher than 255 signs and you will get the message.

 

Please, inform me if I could help you here.

 

Regards

Bernd



Bernd G.

Senior Product Support Specialist


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost