Showing results for 
Search instead for 
Did you mean: 

Scale all elements in a sketch evenly by API

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

Hello Guys,


i need help with the above topic. The title says pretty much everything.


Scaling single elements in a sketch is quite straight forward. Just call the myLineElement.Scale(2) method and youre done.


But i have a bunch of lines and arcs, so i just want to select them all, (For now i do it with:  objApp.StartCommand(40023)) and then call a scale method on all of these elements and scale them evenly by a factor programatically.


Please let me know if you have any solutions for this.


With best regards,