cancel
Showing results for 
Search instead for 
Did you mean: 
Security Alert Log4j Security Vulnerability. Click here to know more.
cancel
Showing results for 
Search instead for 
Did you mean: 

Allow formatting of real number in note to allow padding with spaces

Allow formatting of real number in note to allow padding with spaces

We can currently use &d1[.2] to show 2 decimal places for a real number shown in a note.

Allow the addition of "total display characters" like in this example:  &d1[7.2]

The value 1.34 would have 3 blanks added in front:  bbb1.34

The value 12.45 would have 2 blanks in front:  bb12.45

The value 123.56 would have 1 blank in front: b123.56

The value 1234.67 would have no blanks.

The value 12345.78 would be shown as ****.**

Thus, you could have one multiline note, with values in boxes, using the Consolas font, to create a very nice table-looking note.

This would be more flexible than using a table in that some models might have 3 rows of data and other models might have 15 rows of data.

 

Example text of such a note:

@[&x1[7.2]@]@[&y1[7.2]@]@[&z1[7.2]@]

@[&x2[7.2]@]@[&y2[7.2]@]@[&z2[7.2]@]

@[&x3[7.2]@]@[&y3[7.2]@]@[&z3[7.2]@]

2 Comments
BenLoosli
22-Sapphire III

This would only work with a fixed width font. A table would be easier to format and be able to be stored and added to any drawing.

olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.