Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to figure out the best way to add dimensions to the drawing using iLogic. I'm trying to create a model that includes drawings that are always correct and have all the dimensions. I think the only way to achieve this is by programming these dimensions.
I have a series of holes that I'm trying to dimension center-to-center. Unfortunately, I can't create an entity for the center. Does anyone have any ideas on how to solve this?
This is what i have now:
Dim Sheet_1 = ThisDrawing.Sheets.ItemByName("Sheet1:1")
Dim VIEW1 = Sheet_1.DrawingViews.ItemByName("FrontView")
Dim Face1 = VIEW1.GetIntent("Face1")
Dim Face2 = VIEW1.GetIntent("Face2")
Dim genDims = Sheet_1.DrawingDimensions.GeneralDimensions
Dim linDim1 = genDims.AddLinear("Dimension 1", VIEW1.SheetPoint(0.5, 5), Face1, Face2)
Solved! Go to Solution.