logix1390 Posted August 25, 2018 Share Posted August 25, 2018 hello, I am trying to copy a relative reference but only keep the path and not the value. For example. if i paste `chs("/obj/EXP/dopnet1/pyrosolver1/turb_swirl_size")` then obviously it will return the value of that parameter. However, I am trying to procedurally paste this relative reference but only keep the path so that it does not return the value. So basically : /obj/EXP/dopnet1/pyrosolver1/turb_swirl_size I am setting up a wedging system and want to make things as easy as possible without having to go in and manually write out paths. Is it possible to use the relative reference but to somehow remove the `chs` part procedurally? but maybe I am thinking about this wrong. Thank you. Quote Link to comment Share on other sites More sharing options...
jamesr Posted August 31, 2018 Share Posted August 31, 2018 (edited) What paths are you trying to change? You're just trying to put parameters into the slots on a wedge ROP right? But you don't want to write them each manually? I guess you could try `opfullpath("/path/to/pyrosolver") + "/parameter"` and swap "parameter" with the name of the part you wanna change. Is this what you mean? Edited August 31, 2018 by jamesr 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.