News:

When replying to a specific statement be sure to quote the previous post.

Main Menu

Macro in v8.0 ....will it run in v16 ?

Started by punking, January 31, 2010, 08:45:47 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

punking

currently I have  TurboCad Professional v8.0 and I bought, years ago, a macro ( Bill of Materials for TurboCAD v1.1 by Dan Hunting) it works great and I can dovetail it with a program called Cutlist.

recently I upgraded my Operating system to windows 7 and TC v8.0 doesn't runn any of the macros.

I was wondering if I upgrade to TC v16 will I beable to install my .tcm file and use it?

thanks

Jeff_in_90620

If your Macro was written in Visual Basic, then probably not.  Visual Basic support was dropped due to licensing cost a few versions back, although some have had success copying a library module from the original installation to the newer version.

You may get more useful information on Monday, when more of the forum members participate.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

punking

OK thanks for the info.
I hope there is a solution.
Even if it is to figure out why <macros> doesn't show up under the <tools> menu in version 8.0

Robert

Do you have Win 7 pro, ultimate or enterprise? If so, you could probably make things work in Virtual XP.

Henry Hubich

Quote from: punking on January 31, 2010, 08:45:47 AM

I was wondering if I upgrade to TC v16 will I beable to install my .tcm file and use it?


I don't think so. Apparently only .vbs and .tcr  scripts can be run from within TCad v16. See attached screenshot, which shows the dialog which appears when one clicks "Open Script File" in the Macro Recorder Palette.

My v8.2 installation does play .tcm macros under Win XP Home SP3.

Henry H

[attachment deleted by admin]

punking

Quote from: Robert on January 31, 2010, 11:55:08 AM
Do you have Win 7 pro, ultimate or enterprise? If so, you could probably make things work in Virtual XP.

I have win7 ultimate 64

i'll look into virtual xp...

Henry:

thanks also... I saw that under the macro recorder( if i remember right)

GregT

Quote from: Henry Hubich on January 31, 2010, 08:21:22 PM
Quote from: punking on January 31, 2010, 08:45:47 AM

I was wondering if I upgrade to TC v16 will I beable to install my .tcm file and use it?


I don't think so. Apparently only .vbs and .tcr  scripts can be run from within TCad v16. See attached screenshot, which shows the dialog which appears when one clicks "Open Script File" in the Macro Recorder Palette.

My v8.2 installation does play .tcm macros under Win XP Home SP3.

Henry H

Well actually, you can run a tcm macro in v16, ONE time only per drawing. If you copy the correct "library module" that Jeff mentioned to where it should be in v16, and have a macro loaded and saved into a template from an earlier version of TC, it will work. Not really worth the effort, but it works if you need to only run the macro once in that drawing.
AMD Phenom 1090T
8GB RAM
Radeon 5450 1GB
Windows 7
Redsdk  - Off
Editing History - On
v19.2 Platinum, x64

Henry Hubich

Quote from: GregT on February 01, 2010, 04:38:51 AM
Well actually, you can run a tcm macro in v16, ONE time only per drawing. If you copy the correct "library module" that Jeff mentioned to where it should be in v16, and have a macro loaded and saved into a template from an earlier version of TC, it will work. Not really worth the effort, but it works if you need to only run the macro once in that drawing.

I haven't been able to make that work, Greg. Pretty sure I know which module Jeff meant.

Henry H

GregT

Henry,

Just set it up like you did in previous versions... the module in it's correct folder, and the macro in it's correct folder.

Now, open a template in v15 or older, load a macro, and save the template.

Start a new drawing using that template, and run the macro just as in previous versions, and it will run ONCE... any other tries will just cause the macro to flash on the screen, and disappear. I use a template with the involute macro that David Bell made for me a few years back. But like I said, it will only run once per new drawing.
AMD Phenom 1090T
8GB RAM
Radeon 5450 1GB
Windows 7
Redsdk  - Off
Editing History - On
v19.2 Platinum, x64

Henry Hubich

Quote from: GregT on February 01, 2010, 12:49:29 PM
Henry,

Just set it up like you did in previous versions... the module in it's correct folder, and the macro in it's correct folder.

Now, open a template in v15 or older, load a macro, and save the template.

Start a new drawing using that template, and run the macro just as in previous versions, and it will run ONCE... any other tries will just cause the macro to flash on the screen, and disappear. I use a template with the involute macro that David Bell made for me a few years back. But like I said, it will only run once per new drawing.

OK; got it now, Greg. I had not put the macro in its correct folder. I've experimented with "Nuts," "Title Block," and "Cloud" -- and all three will work again and again in the same drawing in v16.2, not just one time only.

So maybe the BOM macro can be made to work in v16? I don't have a copy to test; never had a use for it.

Henry H

GregT

Quote from: Henry Hubich on February 01, 2010, 03:39:28 PM
Quote from: GregT on February 01, 2010, 12:49:29 PM
Henry,

Just set it up like you did in previous versions... the module in it's correct folder, and the macro in it's correct folder.

Now, open a template in v15 or older, load a macro, and save the template.

Start a new drawing using that template, and run the macro just as in previous versions, and it will run ONCE... any other tries will just cause the macro to flash on the screen, and disappear. I use a template with the involute macro that David Bell made for me a few years back. But like I said, it will only run once per new drawing.

OK; got it now, Greg. I had not put the macro in its correct folder. I've experimented with "Nuts," "Title Block," and "Cloud" -- and all three will work again and again in the same drawing in v16.2, not just one time only.

So maybe the BOM macro can be made to work in v16? I don't have a copy to test; never had a use for it.

Henry H

Dang... I can't/haven't been able to run the macro more than once, and no other macro than the one I have saved in the template.

Are you able to load any macro from the macro folder, and without having it saved in a template first?
AMD Phenom 1090T
8GB RAM
Radeon 5450 1GB
Windows 7
Redsdk  - Off
Editing History - On
v19.2 Platinum, x64

Henry Hubich

Quote from: GregT on February 01, 2010, 03:58:17 PM
Dang... I can't/haven't been able to run the macro more than once, and no other macro than the one I have saved in the template.

Are you able to load any macro from the macro folder, and without having it saved in a template first?

No, I do have to save it in a template first.

Henry H

punking

I finally got my  TCad v8.0 to work on virtualXP. and my macro works.... all is good now.!

Henry Hubich

Quote from: punking on February 07, 2010, 03:23:07 AM
I finally got my  TCad v8.0 to work on virtualXP. and my macro works.... all is good now.!

Glad to hear it!

Henry H

murray dickinson

Rip declared that necessary elements had been removed from V16 and once referred to running VBA in V11 through V15 as "illegal".  Om'gosh, the .dll Poleece are coming.  Tom Snape noted that VBA running in those versions were dependent on MS Office being installed on the same system, as well as the bit that was discontinued. 

Alan C

Quote from: Henry Hubich on February 01, 2010, 03:39:28 PM
Quote from: GregT on February 01, 2010, 12:49:29 PM
Henry,

Just set it up like you did in previous versions... the module in it's correct folder, and the macro in it's correct folder.

Now, open a template in v15 or older, load a macro, and save the template.

Start a new drawing using that template, and run the macro just as in previous versions, and it will run ONCE... any other tries will just cause the macro to flash on the screen, and disappear. I use a template with the involute macro that David Bell made for me a few years back. But like I said, it will only run once per new drawing.

OK; got it now, Greg. I had not put the macro in its correct folder. I've experimented with "Nuts," "Title Block," and "Cloud" -- and all three will work again and again in the same drawing in v16.2, not just one time only.

So maybe the BOM macro can be made to work in v16? I don't have a copy to test; never had a use for it.

Henry H
I have only just seen this post, but for the record, the official Dan Hunting BOM macro only worked up to something like version 7 or 8. He kindly updated it as a beta a couple of times and the latest working beta is good for v10.5 which is why I have stuck at V11 so I can save as 10.5 to use it regularly. Dan lost interest after that especially as the old IMSI company was not supporting him. I can confirm that even with the various vba files copied over from previous versions, other vba macros work in v11 [eg Winston's copy in place macro] but not Dan's Bom beta for 10.5 version, it starts to run but fails every time. Very much doubt it would work in newer versions if it won't work in 11. The main advantage of the DH BOM was it listed all parts including those tucked inside groups and blocks.
Alan.
Platinum 21. & Deluxe 21.
TC user since 1995. (version 3)