Type & Instance properties in DC
-
Hello,
Is it possible to set type and instance properties in a single dc?
To clarify, when we make a copy of a dc and then change properties of the copied one,
change in instance properties will effect the copied component and the change in
type properties will effect all components under the same name.Any help would be greatly appreciated.
Thanx
-
You need to use 'make_unique' on the DC and all of its sub-DCs [if any]... so it then becomes a completely separate version. Making it unique at only the top level will not separate the innards [if any], and these can then also change in the previous version, although the outermost DC is by then a 'different definition'...
-
Hi TIG,
I don't want to make different component definition.
I want different type of properties in same DCs.Suppose in a window DC I have set Height as 'type property' and
width as 'instance property'. I have copied this DC at 4 places.Now what I want is -
Selecting a single window if I change the height, all four window height will be changed automatically and if I change width then only the window that is selected will change its width.Thanx
-
I see what you mean [now]...
It might be possible with nested DCs [the outer container DC affects the width, but the inner one on an edit affects the height in all instances - thereby making some things global and some instance specific?]... but remember that every new instance placed of a DC is unique by default it's only if you copy ones that already exist you get duplicated versions... -
I am afraid that it is not possible. Every time you make a copy of a DC and alter its attributes, the Component browser acquires a new component definition. Only exact copies of a DC remain under the same definition. Selecting a bunch and applying the same change to all of them creates a new definition for every single member of the bunch, so the only way to keep the bloat in check is to apply changes to only one instance, and then to make copies of that.
Anssi
Advertisement