• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor

    Reply
    Valued Contributor
    Posts: 69
    Registered: ‎05-26-2010
    Accepted Solution

    Pattern Visibility with iLogic

    186 Views, 1 Replies
    10-11-2011 05:40 AM

    I've noticed that one can turn off the visibility of an entire component pattern by manually right-clicking the pattern in the browser and unchecking "Visibility". However, when one tries to automate this process with the following code, only the first element of the pattern is made invisible.

     

    Component.InventorComponent("Pattern1").Visible = False

     

    Am I doing something wrong? Is there a better way to do this, or will I be forced to develop a "workaround" like first changing the number of elements to 1?

     

    I've been desperately trying to find a way to "turn off" unneeded assembly components without iAssemblies or LOD's, but Inventor always finds a way to stop me. This workflow of turning off visibility and setting BOM status to "Reference" would work if only I can make patterns invisible, also.

    Please use plain text.
    Product Support
    VinodBalasubramanian
    Posts: 503
    Registered: ‎09-30-2007

    Re: Pattern Visibility with iLogic

    10-11-2011 07:42 PM in reply to: SteveX82

    Hi,

     

    Just stumbled on to this thread,

     

    http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Changing-Component-Pattern-Visibility/...

     

    Hope it helps. let me know, if you need further help.

     

     


    ______________________________________________________________

    If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!





    Vinod Balasubramanian
    Manufacturing Support Specialist
    Autodesk Support
    Autodesk, Inc.



    Please use plain text.