saca Posted November 26, 2020 Share Posted November 26, 2020 hi, I want to define SmokeObject Area from SOP object (input1). SmokeObject is into DOPNet. DOPNet (0)<-emitter geo (1)<-init area geo examaple) Center = centroid(opinputpath(".",1), D_X) it do not work. how write in this case? thanks. Quote Link to comment Share on other sites More sharing options...
saca Posted November 26, 2020 Author Share Posted November 26, 2020 other way Size_X=bbox("../../initArea",D_XSIZE) Center_X=centroid("../../initArea",D_X) and Y,Z, by same way. This is possible, but I want the convenience of receiving input 1. Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted November 26, 2020 Share Posted November 26, 2020 4 hours ago, saca said: hi, I want to define SmokeObject Area from SOP object (input1). SmokeObject is into DOPNet. DOPNet (0)<-emitter geo (1)<-init area geo examaple) Center = centroid(opinputpath(".",1), D_X) it do not work. how write in this case? thanks. Hi, use opinputpath("..", 1) instead of opinputpath(".", 1) in expressions on the Smoke Object DOP. Quote Link to comment Share on other sites More sharing options...
saca Posted November 26, 2020 Author Share Posted November 26, 2020 thanks vicvvsh, bbox(opinputpath("..",1),D_XSIZE) centroid(opinputpath("..",1),D_X) their are work well! 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.