Ok...shot me....I tried it on an actual AecObject.....I get an error also.
I tried (vla-put-color.....) also and error.
I tried it in VBA and no problems. I am guessing that there is something
that VLISP is being locked out of by the AecObject.????????
--
-------------------------------------------------------------------------
Rob Starz
Plogv 3.0 & 2000 (plot logging) for r14 & 2000
***Enhancement Tools for Arch. Desktop *****
!!!! DormerX out in Sept !!!!
http://www.stardsign.com/main.htm
"Bobby Jones" wrote in message
news:A9296004A4252EC55D3CFE2E451CCEB2@in.WebX.maYIadrTaRb...
> Hmmm...It doesn't work for me either. I get the same error. However, it
> works fine with non-aec objects. Now what's really frying my brain is
that
> I can do this successfully:
>
> (vla-put-StyleName Obj newStyle)
>
> That code runs just fine with walls, windows, and doors.
> --
> Bobby "Confused" Jones
>
>
>