DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

wmf standard macros

Started by paul craig, March 05, 2010, 04:30:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paul craig

hi guys long time no talk. having got my version of v20 i am not doing too badly, however, i am finding a problem getting the wmf macros to work. you draw whatever, and want to put it into a word document, so the simple way is to export as a wmf drawing.
however if like me you do not do scaled drawings, you need to rescale in wmf to get it to be a suitable size for a word doc.

dcad has a facility built in, open a drawing you would like to export, go tools, run executable, click open all files, and there are sample macros, they were there in other version. go all the way to the end, and click on wmf out. in the old days, it then opened a dialogue box which asked you for a dimension, which when entered then asks for a margin.

however so far in three days of trying, i have never had the wmf out dialogue box open.

can some of you guys check it please and see what happens with you?

the reason for rescaling in wmf is a flaw in word, which will only accept inserts if they are smaller than a standard letter page, and if you re scale the drawing by using units, then what happens is that any lettering is reversed. which is why you need the macro

all the best from

paul in england

Bob P

The wmfout and wmfscale macros are in the "sample macros" folder.  You'll have to move them into your default macro folder for them to show.

paul craig

bob, in previous versions they were also in the sample macro folder, but you could use them.
so the question is why or what has changed??
if i am doing it wrong, can you step me through it please?
paul

Bob P

My recollection is that the "Sample Macros" folder was never the default macro folder so, if you were accessing them, earlier versions of DC must have had an internal search there in addition to the default folder.  I've always defined my own macro file path and never tried a sample macro without copying it into that folder.

So, you either must  change the default macro folder or copy the macros into your own macro folder.

magic

Hi Paul,

I think from your description that you may have gotten it wrong.

You don't run macros with Run Executable..., but with Macro Execute, and then it works fine, if you go to the Sample Macros folder.
It's a kind of magic!




Pearco

Paul;

Macro Execute works fine for me from the Samples folder in all versions.
Jim
User since ProDesign 1.5

Dr PR

"Tools/Macro Execute" or the "%" key.
DesignCAD user since 1987

paul craig

thanks guys, found it works at last. thing is it is so long since i used it, i must have forgotten. :-[

paul