portdusk Posted June 29, 2016 Share Posted June 29, 2016 I'm setting up a system to source into a smoke sim directly from particles, without having to add a "geometry" data field to the root of the dop object. It works great when everything is manually set up, I can create a reference to the "geometry" field which is nested under the microsolver. As an example, plugging in a SOP Geometry dop into a gasParticleToField dop, the "geometry" dop field is created as subdata of the gasParticleToField microsolver. So the path to the geometry field is: /obj/GEO/DOPNET:obj0/Solver/gasparticletofield/Geometry As opposed to attaching a SOP Geometry to the dop object itself, which creates the Geometry field at the object root: /obj/GEO/DOPNET:obj0/Geometry As I said, it's easy enough to manually copy and paste "Solver/gasparticletofield/Geometry" into the gasParticleToField dop, but I want to make this a tool, so I need a procedural way to reference the path to the dop data. I've tried most of the local variables available, but none of them seem to give me that functionality. Essentially, I'm looking for something that will return the path to the dop field when called from a dop node. Example: when called from the gasparticletofield node, it would return "/obj/GEO/DOPNET:obj0/Solver/gasparticletofield/" or ":obj0/Solver/gasparticletofield/" or "Solver/gasparticletofield/". Basically, what happens when you drag a dop field to the textport. Anyone have any advice for relative references for dop fields? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.