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 4
johnasp1
216 Views, 3 Replies

WordTextWriter

If I leave the 'style' rule blank it will default to the bookmark word text style, if I want to change the style to

Arial, 20,Normal (not bold) how do I write this string in the child example below.

Thanks, John

 

Child WriteWorksurfaceText As :WordTextWriter
Bookmark = "WorksurfaceText1"
Paragraph = WriteWorksurfaceParagraphList
Placement = :After
style = ""
End Child

3 REPLIES 3
Message 2 of 4
Chris.Palmatier
in reply to: johnasp1

The Style parameter takes the name of the style as defined in the Word template, such as Normal, Heading1, Heading2, etc. Hope this helps.

 

- Chris



Chris Palmatier
Customer Success Engineer
Inventor Engineer-to-Order

Message 3 of 4
johnasp1
in reply to: Chris.Palmatier

Chris

   Thanks, that put me on the right tracks. After trying different styles I fould I could even make my own named style with bullets, fonts, size.

 

Styles task pane

Message 4 of 4
Chris.Palmatier
in reply to: johnasp1

Glad I could help. FWIW the table writer works the same way, specifying an existing table style to format a table.



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