Page 1 of 1

Load Wall Style

PostPosted: Fri Apr 05, 2019 4:07 pm
by joshhuggins
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?

Re: Load Wall Style

PostPosted: Fri Apr 05, 2019 5:35 pm
by Paul Nida
My guess would be the / mark.

Re: Load Wall Style

PostPosted: Fri Apr 05, 2019 6:10 pm
by Roger D
should work, from ReadMe.html file
To load a Wall Style from a keyboard macro:
^;^S3^F5^4LNDFLT$^S0^
probablly is the / or "

Re: Load Wall Style

PostPosted: Fri Apr 05, 2019 6:21 pm
by joshhuggins
Hmm tried it removing the / also still no luck. :?

Re: Load Wall Style

PostPosted: Sat Apr 06, 2019 7:53 am
by Mark F. Madura
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.

Re: Load Wall Style

PostPosted: Sat Apr 06, 2019 11:01 am
by Roger D
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.

Re: Load Wall Style

PostPosted: Mon Apr 08, 2019 5:02 pm
by joshhuggins
Idiot.gif
Idiot.gif (778.5 KiB) Viewed 6720 times

Doh! I had an S5 instead of F5. Thanks gents! :oops: