Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear All,
I'm using the below ilogic rule to insert some dimensions into a view. My view has some dimensions which are manually added as well. I need your help to understand how I can have another rule to delete only these ilogic generated dimensions. Thank you.
Dim Sheet1 = ThisDrawing.Sheets.ItemByName("Sheet:1")
Dim VIEW11 = Sheet1.DrawingViews.ItemByName("V11")
Dim p1s0 = VIEW11.GetIntent({"Frame 1701180278888:1", "- 2400.5:1"}, "1")
Dim p1s1 = VIEW11.GetIntent({"Frame 1701180278888:1", "- 2400.5:2"}, "1")
Dim p1s2 = VIEW11.GetIntent({"Frame 1701180278888:1", "- 2400.5:4"}, "1")
Dim p1s3 = VIEW11.GetIntent({"Frame 1701180278888:1", "- 2400.5:5"}, "1")
Dim p1s4 = VIEW11.GetIntent({"Frame 1701180278888:1", "- 2400.5:3"}, "1")
Dim p1s5 = VIEW11.GetIntent({"Frame 1701180278888:1", "- 130.5:1"}, "1")
Dim p1s6 = VIEW11.GetIntent({"Frame 1701180278888:1", "- 130.5:2"}, "1")
Dim p1s7 = VIEW11.GetIntent({"Frame 1701180278888:1", "- 130.5:3"}, "1")
Dim p1s8 = VIEW11.GetIntent({"Frame 1701180278888:1", "- 2400.5:6"}, "1")
Dim genDims = Sheet1.DrawingDimensions.GeneralDimensions
Dim linDim1 = genDims.AddLinear("Dimension 1", VIEW11.SheetPoint(0.5, 1.13), p1s0, p1s1)
Dim linDim2 = genDims.AddLinear("Dimension 2", VIEW11.SheetPoint(0.5, 1.035), p1s0, p1s2)
Dim linDim3 = genDims.AddLinear("Dimension 3", VIEW11.SheetPoint(0.5, 1.085), p1s2, p1s3)
Dim linDim4 = genDims.AddLinear("Dimension 4", VIEW11.SheetPoint(0.5, 1.035), p1s3, p1s4)
Dim linDim5 = genDims.AddLinear("Dimension 5", VIEW11.SheetPoint(0.5, 1.085), p1s4, p1s5)
Dim linDim6 = genDims.AddLinear("Dimension 6", VIEW11.SheetPoint(0.5, 1.035), p1s5, p1s6)
Dim linDim7 = genDims.AddLinear("Dimension 7", VIEW11.SheetPoint(0.5, 1.035), p1s6, p1s7)
Dim linDim8 = genDims.AddLinear("Dimension 8", VIEW11.SheetPoint(0.5, 1.085), p1s7, p1s8)
Dim linDim9 = genDims.AddLinear("Dimension 9", VIEW11.SheetPoint(0.5, 1.035), p1s8, p1s1)
Solved! Go to Solution.