Message 1 of 4

Not applicable
08-11-2016
06:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I have created a small iLogic rule within a sheet metal template which allows me to create a flat pattern upon save (with a trigger):
SyntaxEditor Code Snippet
Dim oDoc As PartDocument oDoc = ThisDoc.Document Dim oCompDef As SheetMetalComponentDefinition oCompDef = oDoc.ComponentDefinition If oCompDef.HasFlatPattern = False Then oCompDef.Unfold Else oCompDef.FlatPattern.ExitEdit End If
This works fine when within the single sheet metal part itself. I am wondering if within my assembly level it would be possible to have a rule which goes into each Sheet Metal part only and runs this rule in the background.
Or, in fact, if there is any easier/better way of acheiving this outcome.
Thanks
Solved! Go to Solution.