Newbie doubt. Urgent
-
Hi,
I am trying to do a project with sketchup in which i need to automate some things.
- How do i add a shortcut for doing something customised? E.g. Ctrl+Shift+2 draws a circle of 20inches radius. Another Shortcut Ctrl+Shift+P should Pull it to make a cylinder.
Its something like recording macros within Sketchup, could someone kindly tell me a way to do it?
thanks
-
SketchUp does not support macros. But it does have a ruby language programming interface. You could write a small script that would draw a circle with a 20mm radius and assign the script a shortcut key. That is about the closest you can get to having macro's in sketchup.
Martin Reinhart had started trying to make a simplified interface to ruby, to make it easier to do small tasks (and large) tasks like this. I'm not sure that his project is entirely up and running though. So you would probably be best off just learning some basic ruby if you really need this done.
Chris
-
thanks for the reply!
could you please point me to a script like that which draws something using a Keyboard shortcut? -
Why do you need a keyboard shortcut to draw a circle or pull it to make a cylinder. With the native tools it doesn't get much simpler than it is.
-
dave its a part of my research. i am trying to understand other gesture that could help sketchup in future. thats why. center could be 0,0 or arbitrary
Advertisement