Hello Development Gurus,
I've been doing some talking with a couple of you gauging validity of an idea I have for a personal/business use plugin I would like to develop. I'm open to either hiring someone to develop it or developing it myself, though with my current level of ruby knowledge I favor the former since I'd prefer to no die of old age before it's working
A little background: I'm going to be developing a SketchUp dynamic component library for a Architecture firm in southern California. Now I've done this before, but they're going all in and really want a killer, optimized system. I'm comfortable building DC's, but I'd like to put some forethought in and create a tool to make my life easier, and if others can benefit from it, awesome. No matter how much preparing and planning I do, I'm going to have to constantly update my master templates for these components, and that promises to become an increasingly large amount of work as the library grows.
So here's the idea itself: I'd like to have a plugin that will allow me to essentially do a search and replace for the parameters of a DC (nested inclusive), and for the plugin to iterate through rename all the relevant references in the component functions. So let's say I've built the component, and later realize I've forgotten a crucial parameter, and want to add a couple more features. Here's the example I imagine:
Before Plugin Usage
Parameters:
aa_window_height
ab_window_width
ac_window_type
After Plugin Usage (bold and italic represents added/edited params respectively)
Parameters:
aa_window_height
ab_window_width
--->ac_window_depth
--->ad_display_optional_trim
--->ae_window_type
I'd love for this parameter to chase through child components (and beyond) for whatever DC master is open and edit the references inside the formulas as well, if that's possible. For clarity's sake, the double letter prefix is solely there to ensure that parameters in the DC Options panel appear in the order I want them to.
From what I've learned speaking in PMs with a couple of you, the idea is at least worth exploring. If I need to clarify anything, please don't hesitate to let me know or ask.
Thanks,
Matt