rcb007 Posted August 25, 2023 Posted August 25, 2023 (edited) I am having a hard time trying to create a routine that would allow the user to select a block or xref and apply layer control to it. For example, If I have several xrefs within a dwg, I want layers *1, *5, *10, *15 frozen and off. Getting this to work with all -xrefs, I can do, but having the layer filter applied to selected objects, I am having trouble. Thank you for the guidance. Edited August 25, 2023 by rcb007 Quote
dan20047 Posted August 25, 2023 Posted August 25, 2023 If you are selecting a block, then it seems you want to freeze the layers in current drawing. Thus you don't need to select anything, just freeze the layers? Blocks use current drawing layers, xrefs have separate layers. Quote
rcb007 Posted August 25, 2023 Author Posted August 25, 2023 Thanks for pointing that out. It was missing the astriks (*) a wildcard in front of the layer name. That way, i would think it could select a block and the xref name. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.