Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ilogic ? turn off part in ipn

3 REPLIES 3
Reply
Message 1 of 4
Retselnitram
462 Views, 3 Replies

ilogic ? turn off part in ipn

with ilogic I have an assembly that activates and deactivates parts depending on the width.

Everything is working fine except in the ipn file. The parts are still showing that are supposed to be turned off.

And if the idw it shows the part as a referenced part.

 

How do I get them not to show?

3 REPLIES 3
Message 2 of 4
MjDeck
in reply to: Retselnitram

You must have a custom Level of Detail representation in your assembly (maybe called LevelofDetail1).  Make sure you are showing the same Level of Detail in your presentation and drawing.

 In a drawing, you can select a different level of detail after creating the views.

 In a presentation, I'm not sure if you can select a different level of detail after creating a view.  But you can select it in the Create View command.  You ahve to hit the Options button when you select and assembly.

PresentationCreateView.png

 

PresentationOptions.png


Mike Deck
Software Developer
Autodesk, Inc.

Message 3 of 4
Retselnitram
in reply to: Retselnitram

Ok

Which brings me to the question I have posted also.

How do I change level of detail with ilogic

Message 4 of 4
ravikmb5
in reply to: Retselnitram

here i assume that u have Lod's as Master,Base,Cover

and user parameter LOD = Master,Base,Cover(Multivalue)

 

 

 Format:HTML Format
Version:1.0
StartHTML: 165
EndHTML: 6376
StartFragment: 314
EndFragment: 6344
StartSelection: 314
EndSelection: 314

IfLOD="Master"Then
ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.LevelofDetailRepresentations("Master").Activate
iLogicVb.UpdateWhenDone=True
ThisApplication.ActiveView.Fit
ElseIfLOD="Cover"Then
ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.LevelofDetailRepresentations("Cover").Activate
iLogicVb.UpdateWhenDone=True
ThisApplication.ActiveView.Fit
ElseIfLOD="Base"Then
ThisApplication.ActiveDocument.ComponentDefinition.RepresentationsManager.LevelofDetailRepresentations("Base").Activate
iLogicVb.UpdateWhenDone=True
ThisApplication.ActiveView.Fit
EndIf

 

Please mark this response as Problem Solved if it answers your question.
----------------------------------------------------------------------------------------------
Ravi Kumar MB,
i7 860 Dell Studio XPS Win 7 64 bit 12 Gb RAM & HP Z220 SFF Workstation
Autodesk Inventor Certified professional 2016
Email: ravikmb5@gmail.com





Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report