Message 1 of 4

Not applicable
04-16-2015
01:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
When i make a pattern with 4 assemblies all these assemblies are the default view. But when i raise the pattern number to 5 the assembly that is new is on view master.
Is it possible to set all the assemblies within this pattern to the same view (default)? I tried somthing but it doesnt work.
Dim asmDef = ThisDoc.Document.ComponentDefinition Dim compPattern As OccurrencePattern Dim compObj As ComponentOccurrence compPattern = asmDef.OccurrencePatterns("Pattern - Clamp plates") 'Pattern name For Each obj As Object In compPattern.ParentComponents obj.SetDesignViewRepresentation("Default", , True) 'View Default associative Next
Solved! Go to Solution.