samifox Posted June 19, 2016 Share Posted June 19, 2016 hi i want to set all Xref VP color to x. i use vplayer color current * and all VP set to x. but i want the scope of the command to be the XREF layers only. is it possible? TX Quote Link to comment Share on other sites More sharing options...
steven-g Posted June 19, 2016 Share Posted June 19, 2016 use the pipe symbol *|* to select all layers that use that symbol Quote Link to comment Share on other sites More sharing options...
samifox Posted June 19, 2016 Author Share Posted June 19, 2016 use the pipe symbol *|* to select all layers that use that symbol was it made to address this requiement? Quote Link to comment Share on other sites More sharing options...
steven-g Posted June 19, 2016 Share Posted June 19, 2016 The pipe symbol is used in the name of all xref layers, autocad adds it automatically, so using the wildcard symbol * will select all layers, whereas using *|* will select all the xref layers (unless you happen to use that symbol in your layer names) Quote Link to comment Share on other sites More sharing options...
tzframpton Posted June 19, 2016 Share Posted June 19, 2016 In the Layer Manager, use Wildcard matching in a Property Filter along with the pipe symbol "|" to show only XREFs. Here's the code: ~*|* So, going off the Wildcards, the tilde matches anything but the pattern. The asterisks grabs everything with the Pipe Symbol "|" which only XREF layers can have. This will isolate only XREF layers, allowing you to Shift+Select and change layer properties quickly. Wildcard reference: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-Core/files/GUID-5818FE81-B822-45AC-BAB0-3517376EA402-htm.html Quote Link to comment Share on other sites More sharing options...
samifox Posted June 20, 2016 Author Share Posted June 20, 2016 The pipe symbol is used in the name of all xref layers, autocad adds it automatically, so using the wildcard symbol * will select all layers, whereas using *|* will select all the xref layers (unless you happen to use that symbol in your layer names) In the Layer Manager, use Wildcard matching in a Property Filter along with the pipe symbol "|" to show only XREFs. Here's the code: ~*|* So, going off the Wildcards, the tilde matches anything but the pattern. The asterisks grabs everything with the Pipe Symbol "|" which only XREF layers can have. This will isolate only XREF layers, allowing you to Shift+Select and change layer properties quickly. Wildcard reference: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/AutoCAD-Core/files/GUID-5818FE81-B822-45AC-BAB0-3517376EA402-htm.html TX never notice that. nothing exist without a reason hu? for all other fellows, macro works greate ^C^Cvplayer color 8 *|* Current;; Quote Link to comment Share on other sites More sharing options...
SLW210 Posted June 20, 2016 Share Posted June 20, 2016 I have moved your thread to the AutoCAD Drawing Management & Output Forum, please start posting in the appropriate forums, it seems I have to move every one of your threads, because you only post them in General. Quote Link to comment Share on other sites More sharing options...
tzframpton Posted June 20, 2016 Share Posted June 20, 2016 TXnever notice that. nothing exist without a reason hu? for all other fellows, macro works greate ^C^Cvplayer color 8 *|* Current;; I actually gave you the wrong info... that was my code to NOT show Xrefs in my Layer Manager. Which, AutoCAD now does automatically. This was implemented in my template well before this was a standard function. Either way, seems like you got it figured out. Quote Link to comment Share on other sites More sharing options...
steven-g Posted June 20, 2016 Share Posted June 20, 2016 TXnever notice that. nothing exist without a reason hu? for all other fellows, macro works greate ^C^Cvplayer color 8 *|* Current;; Nice to see you got it working Quote Link to comment Share on other sites More sharing options...
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.