Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I'm using the iLogic code below to create dimensions.
I'm able to create the bottom dimensions, but i'm not having success creating the top dimensions (the red ones in the image).
The main difference is that the problematic dimensions are based in a fillet, while the others are based in strait lines.
Anyway, in the view, all the geometry involved are represented by strait lines.
How can we create the dimensions in the filet.
Dim Sheet_1 = ThisDrawing.Sheets.ItemByName("Sheet:1") Dim VIEW1 = Sheet_1.DrawingViews.ItemByName("VIEW1") Dim genDims = Sheet_1.DrawingDimensions.GeneralDimensions Dim back = VIEW1.GetIntent("back") Dim front = VIEW1.GetIntent("front") Dim bck = VIEW1.GetIntent("bck") Dim frt = VIEW1.GetIntent("frt") Dim cbck = VIEW1.GetIntent("cbck") Dim cfrt = VIEW1.GetIntent("cfrt") Dim linDim1 = genDims.AddLinear("Dimension 1", VIEW1.SheetPoint(0.5, -2), back, bck) Dim linDim2 = genDims.AddLinear("Dimension 2", VIEW1.SheetPoint(0.5, -2), front, frt) Dim linDim3 = genDims.AddLinear("Dimension 3", VIEW1.SheetPoint(0.5, -2), bck, frt)
'PROBLEMATIC LINE Dim linDim4 = genDims.AddLinear("Dimension 4", VIEW1.SheetPoint(0.5, 2), cbck, cfrt)
Dim linDim5 = genDims.AddLinear("Dimension 5", VIEW1.SheetPoint(0.5, 2), back, cbck)
CCarreiras
Solved! Go to Solution.