Hello
I am trying to generate a note that reads exactly like this
DS-4000
HEAT NUMBER & PART NUMBER & SERIAL NUMBER
MUST BE MARKED PER RP TULSA PROCEDURE MK4000
So I introduce the following command :
Child Note1 As :IvGeneralNote
formattedText = "DS-4000<BR/><BR/>HEAT NUMBER PART NUMBER SERIAL NUMBER<BR/>MUST BE MARKED PER RP TULSA PROCEDURE MK4000"
point1 = Point( 1.5, 5, 0)
End Child
The problem is that when I use the ampersand the note does not do the break, instead it generates a note in one line.
Other problem is that I cannot find a reference for the Pseudo-HTML language used for tags no don't know how to underline. I tried using the tag <U> and <U/> but it didn't work.
Any help would be appreciated.
Thank You.
Solved! Go to Solution.
Solved by Chris.Palmatier. Go to Solution.
We're just passing the formattedText string straight to Inventor, so search the Inventor API/Programming Help for the "XML Tags for Formatted Text" topic. To get an ampersand, I think you need to use the XML code &
One thing to try is to create a dimension with the string you want using Inventor, and then incrementally adopt it and look at the formattedText parameter value. I say dimension since I don't think we support incrementally adopting general notes yet.