Hi Team,
I am able to write text in format "Jim Kane". How to write text in next line as below:
"Jim
Kane"
Thank you!
print("Jim\nKane")
The escape character '\' followed by:
So
print("\"Jim\nKane\"")
gives what you typed in your question.
Hi @Jason Lightfoot,
I am using display object to print the text on screen. It is not working in the way you suggested. Also "\n" is getting disappear automatically.
Can you look at it here?
Thank you!
No that doesn't work in a text visual tool. Consider using the draw code and drawtext() instead.
I don't have any idea how to use it to write in similar fashion as text visual tool?
Can you show me in model?
Thank you!
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved