VP Layers - 2002 vs 2004

Jeff Mishler

Usenet Archive
Joined
Jul 3, 2003
Messages
987
Reaction score
0
Has the method of storing viewport frozen layers changed from 2002 to 2004? I have a routine I wrote in for copying frozen vp layers in 2002 that another user cannot get to work in 2004. I've tried everything I can think of without having 2004 to try it on.

In 2002, I could save the layers frozen in a viewport by getting the (assoc
341) of the VP entity. This no longer seems to be the case. Can someone verify/debunk this? If it's verified, what might I use to get this info.?

Thanks,
Jeff
 
It does seem strange that they have changed that.
I've always used the xdata for the viewport regardless. It returns layer names rather than layer entities, which IMO is more directly useful.

(entget (car(entsel))(list "acad"))

HTH
 
RDI,
It's Jeff, not Russ....but that's OK. I answer to just about anything......;-)

Thanks for the link. I'd searched for that, and knew it existed because I've been there before, but just didn't find it for some reason.

If they didn't change things like this, how would we ever get errors in our code????? ;-)

Jeff
 
Thanks for this tip, Doug.

I have used this in the past and now I don't remember why I didn't continue using it.....aren't there other things that save data under "ACAD" using the 1003 code?

Well I'll modify my code to use this and see what happens....

Thanks again,
Jeff
 
Sorry about that "Russ" er Jeff. :)

I had just read one of "Kiwi Russ's" posts a few minutes before.
 

Latest threads

Back
Top