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

    Autodesk Inventor

    Reply
    Product Support
    Posts: 190
    Registered: ‎05-27-2010

    Re: Suppress Component in multiple Level of Details

    03-23-2012 08:59 AM in reply to: gnick

    Hi

     

    That's true. I understand your issue now. The macro could solve this, but it might take a lot of time if have really huge assemblies.

    You can probably try to lower the Display and Hardware Settings in Application options (just for Running the code).

    Pierre Masson Product Support Specialist PS MFG EMEA Autodesk, Inc.
    Please use plain text.
    Product Support
    Posts: 190
    Registered: ‎05-27-2010

    Re: Suppress Component in multiple Level of Details

    03-23-2012 08:59 AM in reply to: gnick

     

    Please submit us your feedback here, it is an interesting improvement request :

    http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1109794

    Pierre Masson Product Support Specialist PS MFG EMEA Autodesk, Inc.
    Please use plain text.
    Valued Contributor
    floccipier
    Posts: 54
    Registered: ‎04-11-2011

    Re: Suppress Component in multiple Level of Details

    03-24-2012 11:46 PM in reply to: pierre.masson

    It shows following error

    Compiler error:

    Syntax error

     

    with following line of code shown in red

     

    For Each lodrep In oCompDef.RepresentationsManager.LevelOfDetailRepre?sentations

     

    Please suggest what to do.

     

    Regards,

    Sajid Mahmood

    Please use plain text.
    Product Support
    Posts: 190
    Registered: ‎05-27-2010

    Re: Suppress Component in multiple Level of Details

    03-26-2012 12:23 AM in reply to: floccipier

    Hello

     

    You pasted this text :

     

    For Each lodrep In oCompDef.RepresentationsManager.LevelOfDetailRepre​?sentations

     

    There is a question mark in Repre​?sentations. If this is also in your code, then you need to remove it.

    Pierre Masson Product Support Specialist PS MFG EMEA Autodesk, Inc.
    Please use plain text.