Jump to content
Sign in to follow this  
sant0s81

Instance names in UE4

Recommended Posts

Morning,

I wonder, how I could rename the instance in UE4.

Right now the instances are named like that:

instance_name.jpg.78a3b45c6edd4474d3473cb9223e14d2.jpg

For unity I can use an attributecreate and instance_prefix:
https://www.sidefx.com/docs/unity/_instancing.html#Instancing_Names

For UE4 I couldnt find something similar:
https://www.sidefx.com/docs/unreal/_attributes.html

I tried the unity instance_prefix - but that doesnt work.

Anyone has an idea how to change the instance name?

Thx,
sant0s

 

 

 

Edited by sant0s81

Share this post


Link to post
Share on other sites

Ahh, got it.... :D

Was looking for something like prefix - but for UE4 its "unreal_bake_name"  "unreal_generated_mesh_name".

So to rename an instance, just add an attributecreate behind the instance object:

unreal_bake_name.thumb.jpg.b9ca2113f6be57749504ab1f7af1f575.jpg

instance_name.jpg.1dd8ec4b4d4df21f223a903be6c19417.jpg

 

Cheers,
sant0s

 

Edited by sant0s81
  • Like 2

Share this post


Link to post
Share on other sites

Hi Santos.

Nice find!

I will add one more piece of info to that. If you want to add multiple names the global values will stack into a multivalue attribute in details and unreal might crash.

Instead of a global value apply the same Attribute on points, pack the geo, and transfer that attribute to the packed geo.

Best Regards,

Tom

image.thumb.png.08a6285ae52b3c9f837e9c9537c633c1.png 

 

  • Like 1

Share this post


Link to post
Share on other sites
On 7.5.2021 at 7:59 AM, Dumarus said:

Hi Santos.

Nice find!

I will add one more piece of info to that. If you want to add multiple names the global values will stack into a multivalue attribute in details and unreal might crash.

Instead of a global value apply the same Attribute on points, pack the geo, and transfer that attribute to the packed geo.

Best Regards,

Tom

 

 

Hey Tom,

sry, I didn't see your answer...

Thanks alot for the additional information and improvement!

Cheers,
sant0s

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum 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.

Sign in to follow this  

×