Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
bigvik
317 Views, 1 Reply

Ampersand

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.

1 REPLY 1
Message 2 of 2
Chris.Palmatier
in reply to: bigvik

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 &amp; 

 

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.



Chris Palmatier
Customer Success Engineer
Inventor Engineer-to-Order

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

Post to forums  

Autodesk Design & Make Report