Message 1 of 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
@Jeff_M provided me a fantastic code snippet in this thread and it has been great for me so far:
I was dreaming and wondering if there is a way to extend it....Ideally it would work like this:
- You have existing labels already in your drawing (let's just say pipe labels and surface labels as those are what we primarily use)
- You type a command (Let's say "CL" for "copy label" routine)
- You get a pick box to select an existing label within your drawing
- The routine then sets the active label style for that object, just like the code that Jeff_M provided
- Possible bonus step - if it was a pipe label selected by the user, the routine will run the 'label pipe' command,. If user selected spot elevation, launch 'spot elevation label' command. Same for a slope label.
Step 5 would really just be a bonus. What I really want is for the active label style to be set to match what the user picked.
I just find the "add label' dialog box very cumbersome due to the number of styles we are contending with. I have tried tackling this myself, but I am definitely out of my league here....Thanks in advance to any geniuses out there willing to give me a hand!
Solved! Go to Solution.