
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have been searching for awhile on a solution for this. I am running a bit of code that will take an assembly and save a drawing based on a template drawing.
The assembly is open and when running the code it searches for the template drawing opens it in the background, and then replaces the drawing references and saves as a new drawing. While this is happening, I would like to change the scale of the views depending on the overall length of the assembly. I cannot seem to get this to work as most of the code I keep coming up with is below, but this only applies if the drawing is the active document, which it is not. Is there a way to scale the drawing views from the assembly while everything is running in the background?
ActiveSheet.View("VIEW1").Scale = 0.15
Solved! Go to Solution.