3 Replies Latest reply on Aug 14, 2013 1:15 AM by Anshul Pandeys

    DrawingComponent from Component

    Anshul Pandeys

      I am quite sure this is trivial question but i can't seem to find a way to do this:

       

      I have a view which has sub assembies in it. At runtime based on some properties, i wana change the outlines of some componets (line style for ex). Components directly under view can be easily changed , but when i get to one of the subassembies inside the view ( check done  -if viewPartdoc  is AssemblyDoc) I am having hard time getting drawingcomponent from the component2 (after navigating inside assembly via asm.GetComponents )

       

      Component2 is not null ( i have the comp handle for the comp which i am looking for) but then how do i get to DrawingComponent from Component2