Before objectIds are typed by newTypeId (#9296). An occurrence drawn with
its old type places that type's layer set through a usage of its own, so the
usage would go on pointing at the OLD type's set after the retype, and the
occurrence would keep the old build-up and thickness. Each such usage is
re-pointed at the new type's layer set (split when an element that is not
being retyped shares it), so the occurrence inherits from the type it now has.
An occurrence whose layers differ from its old type keeps them. A new type
without a layer set changes nothing: the occurrence keeps the layers it had,
as its own. Returns the occurrences re-pointed; the caller sizes them.
Before
objectIdsare typed bynewTypeId(#9296). An occurrence drawn with its old type places that type's layer set through a usage of its own, so the usage would go on pointing at the OLD type's set after the retype, and the occurrence would keep the old build-up and thickness. Each such usage is re-pointed at the new type's layer set (split when an element that is not being retyped shares it), so the occurrence inherits from the type it now has.An occurrence whose layers differ from its old type keeps them. A new type without a layer set changes nothing: the occurrence keeps the layers it had, as its own. Returns the occurrences re-pointed; the caller sizes them.