Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi, sorry for my bad english. I need your help. I am very grateful for all the comments.
I have an assembly file that contains many sheet metal files. How to create an ilogic rule (sheet metal extents) for all sheet metal parts in an assembly, and make it automatically updated (event triggers > before save document).
So, with 1 ilogic rule in assembly you can create and update ilogic rules for all sheet metal.
And this is the ilogic code that I use for each sheet metal :
iProperties.Value("Custom", "Thickness") = Round(Thickness,1)
iProperties.Value("Custom", "Panjang") = Round(SheetMetal.FlatExtentsLength,0)
iProperties.Value("Custom", "Lebar") = Round(SheetMetal.FlatExtentsWidth,0)
iProperties.Value("Custom", "Description") = iProperties.Material &", "& Round(Thickness,1) &" x "& Round(SheetMetal.FlatExtentsLength,0) &" x "& Round(SheetMetal.FlatExtentsWidth,0) &" mm"
iProperties.Value("Project", "Description") = "=<Material>, <Thickness> x <Panjang> x <Lebar> mm"
Solved! Go to Solution.