Inventor General

Reply
Product Support
pierre.masson
Posts: 227
Registered: ‎05-27-2010
Message 11 of 14 (185 Views)

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.
Product Support
pierre.masson
Posts: 227
Registered: ‎05-27-2010
Message 12 of 14 (185 Views)

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.
Valued Contributor
floccipier
Posts: 55
Registered: ‎04-11-2011
Message 13 of 14 (179 Views)

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

Product Support
pierre.masson
Posts: 227
Registered: ‎05-27-2010
Message 14 of 14 (170 Views)

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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube