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?
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.
Ok
Which brings me to the question I have posted also.
How do I change level of detail with ilogic
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