Autodesk Inventor
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I'm trying to insert a picture into a word document I'm generating from Inventor ETO 2012. By default, the picture seems to be set to word wrap as inline, which makes Word give it a low priority and hide it behind all text. All I want to do is change the wrap style to Square.
Using Microsoft's site, I found what i believe to be the proper style setting.
http://msdn.microsoft.com/en-us/library/ff835490.a
Autodesk's guide for using WordPictureWriter:
Can anyone tell me why this doesn't work? No matter what I change style to, absolutely nothing changes. It is always set as inline.
--code--
Child StationPicture As :WordPictureWriter, Quantity = NumberofStations
Bookmark = "InsertPicture" + stringValue(child.index)
Placement = :Replace
style = "wdWrapMergeSquare"
PictureFile = nth(child.index,PictureFiles)
End Child
--code--
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
Solved! Go to Solution.
Re: How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Can you attach the file here?
I do this all the time for classroom lab instructions.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2013 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2013 SP 1.1 Edu 64-bit
GeForce GTX 560M i7-2670QM @ 2.2GHz 8GB RAM
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm
http://www.autodesk.com/edcommunity
Still waiting for -Draft option on any Rib feature.
Re: How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Not sure if you meant the template file or the output file, but here's both. I'm inserting everything into the template using bookmarks. To be clear, the pictures are being inserted into the document, but behind the layer of text.
See page 8 of the template for where pictures are inserted.
See page 11 of the output file to see where the picture is inserted. Note that if you change the word wrap to square it suddenly becomes visible.
Edited by request
Discussion_Admin
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
Re: How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
bsee1 wrote:I'm inserting everything into the template using bookmarks. To be clear, the pictures are being inserted into the document, but behind the layer of text.
See page 8 of the template for where pictures are inserted.
Kind of important information left out of the original post?
Not sure how to proceed without the image files?
Maybe someone else can figure this one out.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2013 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2013 SP 1.1 Edu 64-bit
GeForce GTX 560M i7-2670QM @ 2.2GHz 8GB RAM
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm
http://www.autodesk.com/edcommunity
Still waiting for -Draft option on any Rib feature.
Re: How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I'm not sure what you mean. I can't give you the entire project, it's 600mb. All I'm asking for is how to apply a style to the pictures.
I can get the pictures into the document, that isn't a problem. The problem is the placement of the pictures. They insert into the document in inline wordwrap style, and I need them in square wordwrap style. It shouldn't be dependant on what pictures I use at all. In the output file you can see exactly how the picture gets inserted(page 11).
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
Re: How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
bsee1 wrote:I'm not sure what you mean. I can't give you the entire project, it's 600mb.
I'm not interested in the entire project - only one word in doc file and one image file.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2013 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2013 SP 1.1 Edu 64-bit
GeForce GTX 560M i7-2670QM @ 2.2GHz 8GB RAM
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm
http://www.autodesk.com/edcommunity
Still waiting for -Draft option on any Rib feature.
Re: How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Technically they're both in the previous output file I posted, but I'll shorten everything up. I've attached a shortened version of the output file, the template file, and the image being inserted.
In the output file, the grey bar is where Inventor attempted to insert the picture. Notice that it isn't actually visible. If you double click on that grey bar and set it to use the square word wrap, the picture becomes visible.
I want to set it to set it to use square word wrap when the document is created in Inventor.
Edited by request
Discussion_Admin
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
Re: How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I am able to set it to Square in the Doc you attached.
Are you able to double click on the image and set (after the fact)?
Also - I always set my Inventor background to white (Presentation) 1-color for placing images in documents.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2013 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2013 SP 1.1 Edu 64-bit
GeForce GTX 560M i7-2670QM @ 2.2GHz 8GB RAM
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm
http://www.autodesk.com/edcommunity
Still waiting for -Draft option on any Rib feature.
Re: How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Yes I can also set it to square after the fact by double clicking on it. I'll look into using a white background, thanks.
But my main question is why the style property in the Inventor code beneath doesn't work. The style property is something Inventor uses, and "wdWrapMergeSquare" comes straight from Microsoft's image styles. That is the only line in the code that does not work.
--code--
Child StationPicture As :WordPictureWriter, Quantity = NumberofStations
Bookmark = "InsertPicture" + stringValue(child.index)
Placement = :Replace
style = "wdWrapMergeSquare"
PictureFile = nth(child.index,PictureFiles)
End Child
--code--
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
Re: How to apply a style to a picture using WordPictur eWriter in ETO?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
So, still need help here. I'll make my question a bit simpler. Has anyone ever used the style property of WordPictureWriter and been able to make it work? If so, what style did you use?
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1


