Notifications
Clear all

[Closed] Problem instancing an object with customAttributes

I’ve added some details (seat, linteln, handle, curtain) to the FixedWindow via customAttribute.
Similar to the “create Frame” within the PivotDoor.

These details are linked geometry and reachable from the CA via node tracks.

When there is an instance of such a window the node tracks are instanced too of cause and details of the other window gets deleted when disabeling them.

Is is possible to make these tracks unique or any better solve for that ?

4 Replies
1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

when you create an instance of the object all CA of the object will be also instanced. Deleting or Adding of any CA will effect all instances. It’s how instancing works. If you want to have unique CA you have to create a copy of the object.
Other way is to use Empty Modifier (Attribute Holder) to specify some details. In this case you will be able to use referencing (instance the base object and have unique details).

Thanks for the hint, ill give that a try.

If you’re adding the CA yourself, you can make them unique across instances by specifying the ‘baseObject’ argument as false…

custAttributes.add obj def baseObject:false

That sounds good, musted have missed that in the help.