Notifications
Clear all
[Closed] converting instances to references
Nov 01, 2015 7:23 pm
So awhile ago I got this code from someone to converted instances to references…
fn sLibConvertsInstancesToReferences instanceArray =
(
instancereplace instanceArray instanceArray[1]
instancemgr.makeobjectsunique instanceArray #individual
temptarget = copy instanceArray[1]
referencereplace instanceArray temptarget
delete temptarget
)
So if I create a sphere, apply a Bend modifier, then instance the object, and run…
sLibConvertsInstancesToReferences #($Sphere001,$Sphere002)
it should give me reference objects instead of instances. And it does, except for some reason its copying the bend modifier above the reference, so now each object has 2 bend modifiers. Any idea why that’s happening and how it can be fixed?
- Neil