New line separator for user attributes

george1985
Collaborator
Collaborator

New line separator for user attributes

george1985
Collaborator
Collaborator

Is there some special character, which can be used to divide a project or object user attribute text, into different rows/lines?

 

For example, below shown text:

"This is first row text @ Second row text @ Third row"

 

george1985_0-1710635723488.png

 

 

Should in single part drawings appear as:

"This is first row text
Second row text
Third row"

george1985_1-1710635817976.png

 


I used the "@" character, just as an example.
I tried both VBA and VBscript new line separators ("vbLf", "vbCrLf") but neither worked.

 

I understand that I can just put each text row into a separate User text:

george1985_2-1710635962896.png

 

But this approach will not work, as I already use some of those User text fields for different purposes.


I would be grateful for any kind of help on this line separation charater.
Thank you in advance.

0 Likes
Reply
Accepted solutions (1)
337 Views
4 Replies
Replies (4)

mick-CNF
Advisor
Advisor

You can but what the special character is i'm not sure?

I copied the line from the line for Management Tools from the CUI box, there is something between the words if you scroll along in the line that makes a new line.

Screenshot 2024-03-18 083940.jpgScreenshot 2024-03-18 084046.jpgScreenshot 2024-03-18 084355.jpg

If this information solves your problem please accept as a solution.

bigcarl5000kg
Advisor
Advisor
Accepted solution

Hi @george1985,

 

yes, it is possible, you need to use the separator "#Newline", which are normally used in the definition of the part description, after clicking on the special symbol - see red mark:

bigcarl5000kg_6-1710752068050.png

 

 

Example - beam properties (German version):

bigcarl5000kg_0-1710751361198.png

 

Result in the drawing (part description):

bigcarl5000kg_4-1710751766650.png

 

bigcarl5000kg_3-1710751739438.png

 

 

 

 

 

+++ impossible immediately and miracles within 3 days +++
+++ the only constant is the change +++ stay tuned for more +++
+++ since 03/2023 is Advance Steel in maintenance mode, no further development +++

bigcarl5000kg
Advisor
Advisor

Disadvantages:
- when using the same values from User attributes in the parts list (BOM) - here example with UserAtt1 in BOM

bigcarl5000kg_1-1710753543482.png

 

 


Therefore, I recommend using the 10 available User attributes, I have not yet encountered a situation where there were not enough of them.

 

 

 

+++ impossible immediately and miracles within 3 days +++
+++ the only constant is the change +++ stay tuned for more +++
+++ since 03/2023 is Advance Steel in maintenance mode, no further development +++

george1985
Collaborator
Collaborator

Thank you very much for the detailed replies and advices!
Both @bigcarl5000kg and @mick-CNF !

@bigcarl5000kgindeed, I didn't think on the effect it may have on BOM. Thank you for making a point about this as well.

0 Likes