News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

3D Max 18 and macros

Started by MarcelBrown, September 01, 2014, 07:15:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MarcelBrown

Hi all

I would firstly like to mention that I do not know this software package at all, but a customer of mine uses it. I am an IT guy doing Windows, networks, hardware, etc... for small businesses around the village where I live in central Belgium.

Anyway, this customer has just upgraded her PC to Windows 8. We reinstalled her licence on the new machine. However, on the old machine she had some useful macros she could use.

Could someone point me in the right direction as to how we can import them into the newly-installed machine?

Please, remember I do not know how this package works and if you need any more info, I can ask her and get back to you.

Thanking you all in advance.

Bob P

Create a folder on the new machine for the old macros.  It can be anywhere, but I like to put the folder in the root of a drive so that there are no permission problems. i.e. d:\macros

Copy all the old macros to the new folder.  Also copy DcadAlias.d3i (if it exists) to the new macros folder. You might have to search within his macros to find where it was originally located (if it was used at all), and change the path.

In DC, open up the Options window (Options/Options or just use the "q" hotkey (without the quotes).

Open up the File Locations tab and fill in the path for macros.  Save it as default.  At the same time, you might want to change the working file paths to match their current relative location, perhaps on the network.

Rob S

#2
There is another way, taking into account that Designcad comes with a set of Sample Macros in its user installation folder, and your customer may have been using some of those, as well as some custom ones of their own.

Usually, if you first open the "file Locations" dialog in Designcad - from the menu "options, options, file locations", it will point to the root user folder, which I then change so it points to the "sample macros" folder, giving me access to those.

Then I just copy any additional custom macros that I want into this samples folder, so I have use of both at the same time.

For people who have multiple versions installed at once, it may be useful to have a central macros folder outside of any version's user folder, so all versions can have access to the same macros, as they tend to work over multiple versions.

You might also suggest to your customer to take a look at one of the latest versions, now up to V23 with a V24 coming out soon.  Free trials are available.

Just speaking as another user, not connected with IMSI in any way, it would be fair to say that they have done many significant bugfixes and a quite a few  improvements in the program, while keeping all the basics pretty much unchanged.
User since forever

MarcelBrown

Gentlemen, I thank you. I will pass on the info (although she will probably ask me to do it!). Also thanks for the tips about upgrading.

MarcelBrown

Hi guys

I tried all that you suggested, but the macro icons are all blank and do not work  :(

She said she understands about upgrading, but a) there is a cost involved (she works for herself) and b) there is no guarantee that the macros will work.

Bob P

If you hover the cursor over a macro icon, it will show you the path.  Make sure that it matches where you put the macros.

There is near-zero risk in updating.  I have never run into an incompatibility problem except when they changed the number of available layers (V15 to later versions).  I don't think V17 will encounter that.

DrollTroll

If the macros are accessed by a custom toolbox, there is a .dct file associated with that toolbox. Look at the .dct file in any text editor. This will let you edit the path to the macros and also to any bitmaps being used on the icons. These paths must be accurate and point to the new locations of the macro (or it just won't run) and to the bitmap (or the icon will be blank).

Hope that helps.
25 years with DesignCAD

Bob P

My original .dct file was binary, but after saving to a different name it changed to straight ASCII.  ???

MarcelBrown

Quote from: Bob P on September 10, 2014, 02:16:21 AM
If you hover the cursor over a macro icon, it will show you the path.  Make sure that it matches where you put the macros.

There is near-zero risk in updating.  I have never run into an incompatibility problem except when they changed the number of available layers (V15 to later versions).  I don't think V17 will encounter that.

When trying the mouse hover, it just gave the name of the macro.

The error message when trying to run the macro was a simple "command failed"

MarcelBrown

Quote from: DrollTroll on September 10, 2014, 11:57:44 AM
If the macros are accessed by a custom toolbox, there is a .dct file associated with that toolbox. Look at the .dct file in any text editor. This will let you edit the path to the macros and also to any bitmaps being used on the icons. These paths must be accurate and point to the new locations of the macro (or it just won't run) and to the bitmap (or the icon will be blank).

Hope that helps.

Thanks. I'll look into that

samdavo

#10
Quote from: MarcelBrown on September 11, 2014, 07:57:06 AM
When trying the mouse hover, it just gave the name of the macro.
This is pretty obvious, but to find the path to the macros available using the spacebar command line, just type " % " , and it opens up that subdirectory.

I suspect you'd be able to check the path for the icons in toolboxes ... by
a) right clicking any of the toolboxes, which lets you adjust what toolboxes are visible
b) there's an option there to "customise" (at the bottom of the list)
c) once there you can click the customised toolbox from the right hand drop-down list, and also "category / macro"
d) and just below that is a path for browsing.   (edit - maybe some trial and error required - or maybe find the name of the macro at least, and do a search of your entire drive using explorer?)
(2 cents)

Just as an aside, I've never tried having macros in multiple directories called up by
1. different toolboxes, (might work I guess, not sure what logic would require this); or
2. maybe the same toolbox (can't imagine it).

But the easiest thing is to keep all your macros together in one directory.
personally I keep all macros, keyboards, workspace configurations, toolboxes etc etc in the same directory, c:\2000dc\macros
- because 2000 was the version when the collection started.    Just duplicating what everyone else has said above.
cheers

MarcelBrown

Hi all

Well, she seems to have sorted it out. How? She can't explain, or rather can't remember! Her email was vague, so I asked for clarification and it is even worse!

Anyway, next time I am there, I'll have a look for myself.

But, the problem seems to have gone a way.

Many thanks to you all.