Jump to content

Monochrome WMF


dbroada

Recommended Posts

I have a need to WMF some drawings. Is it possible to do this in B&W? I don't really want to explode all the blocks just to change their colours.

Link to comment
Share on other sites

Can you do WMFOUT as per normal; then open them in Paint, invert the colours via File>Image>Invert Colours, then change the colours in File>Image>Attributes>Colors to be Black & White?

Link to comment
Share on other sites

this is not an autocad solution but usually what I do is - if I am inserting these wmf files in office files-, after inserting the image using the picture tools in office programs. for me this is the easiest way that I know.

Link to comment
Share on other sites

Thanks both,

 

Unfortunately (unless I'm doing something wrong) opening with paint reduces the resolution to an unusable point.

 

These images are not being used in an office document, they form the graphical part of a wiring information package with no graphic editing ability.

Link to comment
Share on other sites

How about making a workaround?

 

Open the drawing, and explode any block which has components that are not coloured Bylayer, change all the layer colours to black/white, export the WMF, then exit the drawing without saving. That way your blocks are not irrecoverably exploded :D

Link to comment
Share on other sites

that is what I will probably end up doing but several blocks are within other blocks to several layers deep. If I feel like it tomorrow I may look at a VBA solution. You can tell we're not that busy at the moment.

Link to comment
Share on other sites

Print to a *.pdf using the monochrome.ctb pen.

 

Open the *.pdf and save as.

The resulting *.pdf can then be saved in numerous image file types.

 

I'm using Adobe Pro 8.

Link to comment
Share on other sites

with no inbuilt commands available and me not having Adobe Pro I wrote this little VBA routine....

 

Public Sub Check_Blocks()
Dim myBlocks As AcadBlocks
Dim myBlock As AcadBlock
Dim myBlockReference As AcadBlockReference
Set myBlocks = ThisDrawing.Blocks
For Each Item In myBlocks
   If Left$(Item.Name, 1) <> "*" Then
   Set myBlock = Item
   Debug.Print Item.Name
   If myBlock.Count <> 0 Then Call SetColour(myBlock)
   End If
Next
End Sub
Public Sub SetColour(myBlock As AcadBlock)
Dim myLayer As AcadLayer
For Each Item In myBlock
   Item.color = acByLayer
   If ThisDrawing.Layers(Item.Layer).Freeze = False Then Item.Layer = "0"
Next
End Sub


I have just updated this to put everything on layer 0 except items already on a frozen layer.

 

which changes all but coloured attributes and dimensions to "byLayer". Using the Properties Palette gets most of the way to what I wanted to achieve.

 

Shame I forgot the final output from the wiring diagram routine is to print in B&W so I need not really bothered. It may come in handy some day though. :)

Link to comment
Share on other sites

When you have your WMF, if it is to be inserted into a Word document, sometimes the line thicknesses can be spindly. In Word you can Ungroup the inserted image, and then apply Line Style (Word's equivalent of line thickness).

Link to comment
Share on other sites

When you have your WMF, if it is to be inserted into a Word document, sometimes the line thicknesses can be spindly. In Word you can Ungroup the inserted image, and then apply Line Style (Word's equivalent of line thickness).

 

If the drawing was saved monochrome, as a *.pdf.

 

The *.pdf can be saved as an MS Word document using Adobe Pro.

Link to comment
Share on other sites

If the drawing was saved monochrome, as a *.pdf.

 

The *.pdf can be saved as an MS Word document using Adobe Pro.

 

Not having Adobe Pro, I was wondering if you had any control over line thickness :?

Link to comment
Share on other sites

Not great but, decent enough.

 

I printed to a *.pdf tried to save as MS Word *.doc, didn't work too well.

 

I saved the *.pdf as a *.jpg and inserted into an MS Word file, worked excellent.

 

Below is a super sized down *.jpg image from paperspace.

I downsized the *.pdf is MS Paint, don't have a need for PhotoShop although I hear good stuff 'bout the program.

TankTest.jpg

Link to comment
Share on other sites

Not great but, decent enough.

 

I printed to a *.pdf tried to save as MS Word *.doc, didn't work too well.

 

I saved the *.pdf as a *.jpg and inserted into an MS Word file.

 

 

Your method is raster based, so the line thickness has to be preset.

 

The WMF method is vector based, and thus has line thickness control in the final document, and set to suit.

 

Anyway, two different approaches for the OP. :D

Link to comment
Share on other sites

I thought that a picture might help.

 

The top picture is with a line thickness of ¾pt, and the bottom picture is with a line thickness of 4½pt (rather excessive but shows what you can do)

WmfInWord.jpg

Link to comment
Share on other sites

Anyway, two different approaches for the OP. :D
and the OP doesn't know why you bothered to keep posting - he has already found a solution he likes.

 

 

 

 

 

 

 

 

 

 

 

o:)

Link to comment
Share on other sites

and the OP doesn't know why you bothered to keep posting - he has already found a solution he likes.

 

There you go, trying to stop people posting :shock:

 

But you did not say that you had found a solution, and even saying that does not stop ideas being posted. :roll:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...