Script to change default sides of a circle?
-
I've posted a question here - but I think I'll post it more broadly here as a newbie question:
Scripting the creation of an 8-sided circle doesn't seem to be a way to change the default number of segments in a circle: it still remains the default 24 for any user-created circles.
How could I automatically change the default number of segments in a circle and/or arc? By "automatically", I mean that this happens when SketchUp loads: a script (I'd think) changes the default circle segments to 8 (or any other number I'd like to script).
Or has somebody already scripted a solution to this, and if so, what is the solution?
Thanks!
-
I don't believe it is possible. At least that's been the answer every other time the question has been asked.
-
I think it's hard-coded for arcs and circles and although a manual change to it during a session is remembered, it reverts next time round...
-
Fredo's Tools on Surface remembers between sessions.
-
Argh. How cute.
So now I'm thinking of using some debugging tools, finding the responsible byte(s) and) patching SketchUp.
That would be an inflexible solution.
Circle, Arc, and Polygon segment number defaults would best be a user-configurable setting (and not just per session - I mean a permanent setting or option), and/or API-accessible.
Next question: has that (option) been put on the API wish list I saw over yon? I know, I could read the whole wish list..
-
[UPDATE] I developed a solution I found for this into a plugin, released at the following thread:
Advertisement