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.

layer macro

Started by bobarthur, March 06, 2008, 06:26:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bobarthur

I use three layers in all my drawings.  I name them and assign colors.  They are always the same.  I am trying to write a macro for this but my macro skills are nill.  I use 2000LT and ver.16.3.  Can anyone help me?

Lar

Save one of your files as 'Template.dcd' or something, delete everything (activate Options menu> Preferences> Allow saving empty drawings) and save again. When starting a new drawing open this file and immediately Save As to the new project's name.

You don't have to delete everything. You can leave all your standard stuff in the file. If you use blocks they will be loaded in memory already (just don't ever use Tools menu> Purge Unused Blocks).

Lar

Pearco

boarthur;

I am not sure if the save blank drawing option goes back to Dcad 2000, but if not, just leave a small line on the drawing when creating a template and delete it when you open for a new file.

Lar, thanks for the tip about having blocks save with the blank drawing. You learn something new every day with this program.
Jim
User since ProDesign 1.5

impulse


If the template idea does not work you might get a leg up on macro creation with Bob P's response at this post
http://forum.designcad.com/index.php?topic=962.0

Also, Bob P has a suite of layer macros that he freely shares. I dont know if a save layer name maco is among them or not.

Impulse



Bob P

I've never fooled around (how appropriate is that?  ::) ) with layer names.

But I notice sys$(93) is the current layer name, so I suspect that a macro can be written to cycle through a few layer values to set the name and color.

But the template idea is probably easier.

ten0rman

Hi,
I suppose it's too late now, but I use a start up macro to load 10 or more layers all using the same name and colours. I have also successfully transferred it between Dcad 2000 Pro and Dcad 3D Max v 17.2

If you are still struggling, let me know and I'll give you chapter and verse of how to do it.

Regards,

ten0rman