Message 1 of 3
Link between Level of Detail and Positional representation via ilogic

Not applicable
04-10-2018
12:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have made Rule to link LOD and Positional representation and its working fine. But problem is every time I have to run the Rule manually even I have set 'Event Triggers' but rule is not running automatically. My Requirement is when I change LOD, as per Rule Positional representation should change/update accordingly & automatically. Any Solutions??
Rule:
SyntaxEditor Code Snippet
Dim oAsmCompDef As AssemblyComponentDefinition oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition If oAsmCompDef.RepresentationsManager.ActiveLevelOfDetailRepresentation.Name = "Master" Then oAsmCompDef.RepresentationsManager.PositionalRepresentations.Item("Master").activate Else If oAsmCompDef.RepresentationsManager.ActiveLevelOfDetailRepresentation.Name = "437.5" Then oAsmCompDef.RepresentationsManager.PositionalRepresentations.Item("437.5").activate Else If oAsmCompDef.RepresentationsManager.ActiveLevelOfDetailRepresentation.Name = "762" Then oAsmCompDef.RepresentationsManager.PositionalRepresentations.Item("762").activate End If