Message 1 of 17

Not applicable
05-24-2018
01:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to add a button to my custom tab that selects all XREF layers in a drawing, locks them and also sets their transparency to 50, though I'm fairly new to scripts and coding and still struggling with the basics.
Alternatively; two different buttons, one for selecting and locking all XREFs and one for setting all XREF layers transparency to 50.
I might also want to create custom commands for the two functions, like LOCKALLXREFS/XREFTRANSPARENCY.
I know how to make custom buttons that calls a .scr/.lsp-file, but not the correct coding method for the script itself.
Could I get some help with this?
Solved! Go to Solution.