Jump to content

[SOLVED]Is instancefile broken?


Recommended Posts

I thought I knew how to leverage the s@instancefile attribute but it does not seem to work anymore.

Using H16.5.378.

int index = int(fit01(rand(@ptnum),0,3));
s@instancefile = sprintf('$HIP/geo/forest_rock_%03d',index);

// Set particle scale.
f@pscale = fit01(rand(@ptnum),10.75,110.75);

Does anyone have an example of s@instancefile working?

instancefile_broken.zip

Edited by Atom
Link to comment
Share on other sites

I do see an absolute path inside the geometry spreadsheet so I think $HIP is being converted correctly.

I also tried an absolute path with both forward and back slashes and neither attempt produces geometry displayed in my viewport. All I see are the points.

I did test that my geometry loads using a File node so I know the geometry is ok.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...