Attributes from the underlying symbol

Discussion created by juha.manninen on Jan 27, 2009
Latest reply on Jan 27, 2009 by juha.manninen








I have a script for DxDesigner that iterates all components and then gets some attributes from them.



I used Comp.FindAttribute(...) to get the attribute's value by name.



However, as the documentation says: "This only finds attributes attached to the component -- it doesn't find attributes that are only on the underlying symbol."



The documentation does not tell which property or method I should use when I also want attributes from the underlying symbol.



I tried GetBatchAttributes instead of FindAttribute. It didn't help.



Then I tried "Comp.SymbolBlock.FindAttribute". It didn't give errors but it didn't return right attribute values either.



So, how can I get the attributes from symbol level?






Juha Manninen