Itoo Software Forum

Author Topic: Scripting Railclone using Python or C++  (Read 453 times)

Pixual

  • Newbie
  • *
  • Posts: 15
Scripting Railclone using Python or C++
« on: December 21, 2021, 10:17:40 AM »
Hi all,

I'm curious if it's possible to use Railcone when scripting in Pyhton or C++ or some other external scripting language.

So for example, if it's possible to automaticaly extract a spline from a surface and bind it to a Railclone object using above mentioned scripting languages. And would it be possible to control all the parameters used in such a Railclone script using Python or C++?

Thanks in advance,

Jakob de Vries

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Scripting Railclone using Python or C++
« Reply #1 on: December 22, 2021, 11:21:54 AM »
Hi, you can modify RailClone properties from Maxscript or Phyton, as any other 3DS Max object.

Properties available include: General parameters, Base Objects, Segments and Exported Parameters.
To see all properties from MaxScript, use 'showproperties $', with a RC object selected. If you need help with some specific parameter, please ask us.
Instead, the Style definition is not available (it's stored in a custom format).

Said that, i guess your example would be done in Maxscript (or Python), using the tools provided by 3DS Max. Anyway, this question is more related with Max development, and goes beyond of RailClone support.

Carlos Quintero
iToo Software

Pixual

  • Newbie
  • *
  • Posts: 15
Re: Scripting Railclone using Python or C++
« Reply #2 on: December 22, 2021, 12:26:58 PM »
Thanks for your reply!
For now it's sufficient for us to know that this option is possible. We will develop a tool sometime next year so we will get back to you if we have further questions regarding the specific parameters.

Greetings,

Jakob de Vries