Dynamic Component from a Ruby Script?

A very basic question… Can you create a dynamic component from a ruby script?

I am wondering if AI can create a ruby script (which it can provide the code) to create a dynamic component (which it an define the instructions) ?

You can create a DC from Ruby - but it’d be complex and involve lots of attribute setting and editing etc.
I don’t think AI will be advanced enough to do this for you - even with lots of help from your side.
It will cannibalize bits of other scripts it finds on the net, and make a right mess, that you’ll have trouble debugging etc… I wouldn’t do it.

Try making a simple DC, coding it yourself, to see the complexity of what’s involved…

6 Likes

One aspect of the difficulty is that there is no published API or design for DCs. Everything we know has been reverse engineered over many years by users.

6 Likes

thanks for both your expert thoughts… noted !

If you’d like any help putting together a DC feel free to reach out to me via SimonT (@sketchupalive) • Instagram photos and videos