Jump to content

Opinput combined with expression

Recommended Posts


I like to use opinputpath for importing e.g. a Volume into a Dop-Simulation. In my opinion its more clean to visually see the data used in Dops.

Now I want to combine the opinputpath with another expression. Lets say my 2nd input is a boundingbox, which I want to use to use in the gas resize fluid.

I want to do something like  bbox(`opinputpath("../.", 1)`, D_XSIZE), wich is not working.

What would be the  correct way ?

Share this post

Link to post
Share on other sites
bbox(opinputpath("..", 1), D_XSIZE)

or create spare input parameter with 

`opinputpath("..", 1)`

and then it will be just

bbox(-1, D_XSIZE)


Edited by anim

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now