Use this forum to ask questions about DataCAD 21 and DataCAD LT 21.
#76194 by joshhuggins
Fri Apr 05, 2019 4:07 pm
Any ideas why this macro to load a wall style won't work?
Code: Select allHint23=Draw 3/8" Plywood - Shear   
Icon23=Linetypes_Plywood-32             
A23=^;^S3^S5^3/8" Plyw$^S0^
The wall style is named 3/8" Plyw . I thought maybe it was the " or maybe the space but I removed those from the style name to 3/8Plyw and it still didn't work. Any ideas?
#76196 by Roger D
Fri Apr 05, 2019 6:10 pm
should work, from ReadMe.html file
To load a Wall Style from a keyboard macro:
^;^S3^F5^4LNDFLT$^S0^
probablly is the / or "
#76199 by Mark F. Madura
Sat Apr 06, 2019 7:53 am
Hi Josh,

- Are you getting an error message like "Unable to load type file - ..."?

- Is Auto 3D toggled off in the Architect menu?

- Is your wall Style (not Type) defined in Wall.stl?

- Is Wall.stl located in your C:\DataCAD 21\Support Files folder?

The following works for me:

[Load Wall Style TryMe]
Hint=Load Wall Style
Icon=
A=^;^S3^F5^TRYME$^S0^

TryMe Wall Style as defined in Wall.stl:

*tryme
3
384
1
1
>Solid
256
128
32
2
1
>Solid
384
1
1
15
2
>Solid

'Load' is a bit of a misnomer since the result of the action is to set the current wall options by picking a definition from the list of available Wall Styles in Wall.stl. As if you went to Architect (Auto 3D Off), Manage, select the desired Wall Type from the list and click OK.
#76200 by Roger D
Sat Apr 06, 2019 11:01 am
I think Mark indicated there is a difference between selecting a wall style that has already been loaded into the drawing, vs selected a new wall style to be loaded into the program. i.e. picking from the top list vs the bottom list.

Who is online

Users browsing this forum: No registered users and 3 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for AEC Professionals Since 1984