It has been a bit since I have made a post, but this is a question that I’ve had for an incredibly long time. I was wondering if it is at all possible to activate a dynamic component programmatically, or through the Ruby Console with a command. I am asking because I am by no means a developer on any circumstances (yet). I am using a plugin called the Eneroth Railroad System (and whomever is to find this, I know that I am using a somewhat faulty animation plugin that is several years old), and one of the features are “balise points”. They are points that are placed on a path (track) that when an object (train) moves over this point along the path (track), the ruby code written in the console is activated, doing something (I hope this is how that works).
Tag @eneroth3, your It!
Honestly, this is quite a disappointing response, and another reason I asked was that Eneroth3 has said that she hasn’t done much with Dynamic Components. Alas, I will do so.
All I was trying to do was draw Eneroth’s attention to this post as you mentioned her railroad system. And thought that “Tag … you’re it!” was a playful way to do it.
In what way is that disappointing?
Your disappointment sounds like you haven’t understood that most extensions and most replies on this forum are the work of private individual volunteers, not Trimble employees. When an extension misbehaves the best way to deal with the issue is to contact the author, which is what @sjdorst did by linking eneroth3.
I suspect there is a way to use Ruby to simulate a DC being interacted with using the Interact Tool, if that is what you are after.
However I’d recommend against building around DCs as it is a quite low quality and outdated plugin, without a public API. It is much because people insist on building their own Ruby project around DCs that DCs cannot be properly refactored and updated by Trimble if I’ve understood right.
I apologize for my perceived belligerence. I now understand the pun you made…
This is exactly what I am after, but I don’t really know how to use the API to my benefit, because I have 0 experience when it comes to computer programming. My question, to me, seems unanswerable at the moment .